Moves exceptions to nosql package.
Metadata table created on postgresql schema create.
Adds support for Collections API (table management) for postgresql repository.