added error handling when closing pg cursor
raised version to 0.1.1
changed default pg host to localhost
Merge pull request #1 from benighted/master

added error handling when closing pg cursor