nginx: fix ngx.VAR missing and bit shift problem

statictile: add missing include
tilecheck.lua: now replace bit shift with luabit library.

TODO:
  need to place bit.lua onto lua-path from luabit library.