Gravar-mail: Tunable band-gap structure and gap solitons in the generalized Gross-Pitaevskii equation with a periodic potential