refs #369 Use an RAII solution to make sure we always use a DBWrite lock
to destroy the Indexer. Also, document the requirement that the indexer
must be destroyed after a successful commit().
closes #385 remove ns parameter from setIndexIsMultiKey