DEV: Make PostgresContentsManager traits configurable.
DOC: Minor cleanup for test_pgmanager.py
BUG: Fix bugs with base64 {en,de}coding from text files.
TEST: Add test_pgcontents_api.py

Clone/subclass of `test_contents_api.py` from IPython
~50% of the tests are passing as of this commit.