Use the Response model in the etag-cache
Get count and S3 header in parallel.
Use the Response model instead of the low level db interface.
s3-cache doesn't need the db options
Put config values/settings in one place
Put routes in one place
Factor out tile.json stuff
Factor out tile generation
Factor out the rest of the routes
Reference the actual database
Factor out mongoose stuff
Pass in mongodb options
Factor out survey stats code
Factor most of the code out of the server module
Fix module reference
Add lodash references
Merge branch 'master' into refactor

Conflicts:
	server.js
Bring in changes lost in the merge conflict resolution

Bring back 77cd2b73b2dec8f533531a97f98ca792728f33d4 and 9956d097a58afe09a5fa90e70e6a291e52fdb3b4 but in the factored out module.
Fix non-filtered UTF grids
Merge pull request #39 from LocalData/refactor

Refactor tile server into components