cayley: Add graph initialization and fix launchd

* Added a 'post_install' to initialize the default database
* Fixed launchd to launch a server instead of failing
* Various cleanup