Some PY3 love
py3 compatibility
Merge pull request #141 from wm3ndez/master

Python3 support
Fixes #142 Use old style indexing in format strings

Unable to set search_path with Python 2.6 due to unindexed format string.
Merge pull request #143 from klynch/master

Use old style indexing in format strings
allow syncdb for db not managed by tenant