Outsource Icinga database creation and population into pgsql::database

refs #6842