Fix Postgres persistence plugin for production use 

While evaluating the PostgreSQL persistence plugin for its viability in production, several issues were discovered. This pull request corrects several issues relating to the database schema format, serialization of Ruby symbols, and username/password configuration.

Each commit message has an explanation of the issue discovered and rationale why it is needed.