Initial commit

Porting all the code from Qiita and extending the tests.
http://initd.org/psycopg/docs/connection.html#connection.commit
Doesn't look like it.