Changed the layout of datagram so that migrations would work.
Provided a default URL for the query db.
Changed the default URL to not depend on a dir.
Removed migrate script since we rolled it into a bin.
Moved migrate code into a class method so that the migration can be run from outside of the CLI.
Fixed a path issue to assets in datagram.