added context management
added commit and rollback to connection context management
Merge pull request #32 from kennethdamica/master

Add context management to cursor and connection