handle more error cases.  Needs a bigger cleanup.
Make Database interactions threadsafe.
fix count bug
Added auto completion for collections more verbose, by parsing from the JSDocs
Merge branch 'master' into tab_completion