Set correct owner of PostgreSQL DB

With this change we can use foreman-rake db:drop to drop the whole DB.
It's needed for installer which can drop db and let it recreate using
existing tools.
Run migrations when using sqlite

Fixes the issue when migrations are not run on sqlite
since it did not emit any refresh notification.
Fixed order of user, database and role creation
Disable mod_deflate to prevent double-gz on default Debian httpd config
fixes #3543 - added support for running puppet as a different user
Changed instructions on foreman parser, and added per_page hash element
Enable correct json package on squeeze