refs #389 Refactor dictionary open and attribute changes. Allow changes

to occur in reIndex through the 'rebuildIndexes()' API. Needs a test
still.

@leifwalsh can you help make sure this refactoring maintains the old behavior for default index attributes?