Support variable tile size in PointDbWriter

Also move tile coordinate handling utility into util.h
Simple point DB work in progress

Create a simple point database query object which can return points
based on bounding box.  Currently limited to returning position relative
to some offset, and intensity.