added get_databases added 

im sure im doing this incorrectly because we have a branch of this code on bitbucket, but here is my attempt to get your latest changes (which i love the timeout handling) and merge it in with a few commands i have added.

it is now down to get_databases, i removed the atom guard(stupid bug) and changed the run_command function to set the limit to -1 as i cant get it to work without it.

there are some changes here that you dont want, aka, to work in our build system...sorry about that, let me know what i can do in the future to make this easier on you.

also point out any stupid things i have done here.