Fixed various Bugs

* Fixed the database.yml support
* Really use init_config.erb
* Fixed the sqlite3 Package under Debian
* Fixed some dependency Issues

Change-Id: Ie7589156fe8d39ee26716d346bc6bd780deb0cb0