closes #369

Add an Indexer class to NamespaceDetails, move index build logic there. Capture system.indexes inserts in instance.cpp so we can
hold a DBRead lock during the actual index build once hot indexing is
ready.