Fixed various Bugs

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