tileserver: mock works in progress

tileserver.lua is a experimental implementation of tileserver
that is basically untested.
It is port of tileserver.js
it is not tested. may be broken.

TODO:
- binary operation
- test, test, test and fix