SERVER-15535 Fix sense of _isOpTimeCloseEnoughToLatestToElect in getMyUnelectatbleReason

Also, clarifies some supporting code and adds a few useful debug log messages.
SERVER-15547 removed tests that rely on tools --dbpath option
SERVER-15222 BsonTemplateEvaluator::_evalElem one builds a single level

Closes #815

Signed-off-by: Benety Goh <benety@mongodb.com>
SERVER-15547 removed 'direct' as a supported dump/restore type in multiversion tests
SERVER-15550 rename LogComponent::kS2 to LogComponent::kGeo
SERVER-13635 Expand set of generic RecordStore API tests.
Merge pull request #818 from visemet/rs-tests

SERVER-13635 Expand set of generic RecordStore API tests.
SERVER-13635: make index check in sharding use listIndexes
SERVER-13635: use consistent method for checking capped size
SERVER-15294 add fileSize to db.stats() on empty db
SERVER-15549 listDatabases command should only list existent databases

The database information is split between the storage-engine database
catalog and the database metadata, which could potentially be in-memory,
but not created on disk yet. The cases where this happens are only
applicable to the Admin database.

This change makes the listDatabases command only list databases from the
storage-engine's catalog.
SERVER-15547 removed legacy tools from source tree and build configuration. make use-new-tools option a no-op
SERVER-15502 simple targeting of explain for writes in mongos

Further command refactoring postponed
SERVER-14668 ignore empty options returned from listCollections in dumprestoreWithNoOptions.js
SERVER-15555 dynamically import pymongo in smoke module only when needed
SERVER-15425 Remove nodes from the _slaveInfoMap when they are removed from the replset config
SERVER-15547 removed tests that rely on tools --dbpath option
SERVER-13635 Enclose validate() tests in anonymous namespace.

Signed-off-by: Matt Kangas <matt.kangas@mongodb.com>
SERVER-15560 Multiple logComponentVerbosity levels cannot be cleared
SERVER-15535 initialize logOp at the appropriate time