Fixes issue 331 by adding more __methodMissing functionality to the db object

- added a listCollections() prototype to the db object to call the same show collections
function as executing 'show collections' does directly
- Found all commands returned by the native mongo shells' db.help() command, and added these
as "reserved" keywords that should not be directy usable as collection names, because they
are not in the native mongo shell either
Merge branch 'master' into fix_error_handling
Merge branch 'master' into fix_error_handling
handle more error cases.  Needs a bigger cleanup.
Make Database interactions threadsafe.
fix count bug
Merge pull request #333 from ecbtln/fix_error_handling

Fixes issue 331 by adding more __methodMissing functionality to the db object
EDU-1149 add clear editor function to visually reset mws
Merge pull request #339 from vicjwang/vw/edu-1149_clear_editor_function

EDU-1149 add clear editor function to visually reset mws