Use a Mutex to synchronize the usage of the connection.
Small mutex handling improvements
Fix busy? and ready_for_query?, and add a test for concurrent access.
Merge pull request #16 from sprsquish/mutex

Use Mutex to grant exclusive access to connection