some refactoring, cleanup, and updates to docstrings
976561 - added and explicit pool size for the socket "pool"
added a new decorator around the query methods that calls end_request in order to manage the sockets automagically
added an end_request to the db flush
Merge pull request #541 from pulp/jconnor-976561-too-many-mongodb-connections-4

Jconnor 976561 too many mongodb connections 4