Fix the installer with the frameworkbundle.

Some methods tried to get the dabase service from the container. Since
this container didn't have the right parameters to create a database
yet, I've overwritten the database service with a custom made one.