Merge sql schema files

When populating a database we'll create all tables regardless of what
is actually required for the current use case.
Fix warning "references should be passed by variable"
Wrap report message registration in a specific method

refs #7163
Fix that the database is displayed instead of the login in the db summary

refs #7163
Add database setup routines

refs #7163