Move custom Grunt tasks to separate files
Write the `dbapi-root` module at build time
Allow server config to be overridden through npm
Connect to DBAPI in the same host during development
Add dependency and fix operation order in `data/sync`

There was a missing reference to the `data/model` module, used in case
the user being synced does not exist already.  In the same code, the
order has been changed to set the user's location before adding it to
the "all users" collection.
Rewrite the server config in LiveScript

It was the only pure JavaScript file in the repository, and it didn't
need to be.