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

Add host, port, and db as optional parameters with defaults to
get_cursor().
Merge pull request #2 from reillysiemens/master

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