Merge pull request #2 from reillysiemens/master

Add host, port, and db to get_cursor().