Work in progress on refactoring visitor to only update entities since connections are handled internally
Moved create index down to cache init.  Not ideal, but lowest least called point in the code until setup is refactored.
Adds explicit refresh after create to ensure the index is actually ready to receive data.
Changed refresh logic to catch an issue when the Index has not yet replicated across the cluster.
Explicitly catch IndexMissingException
Fixed index refresh issue.

Fixed source/target switch on entity rebuild

Added performance comments as encountered
Added logging
Added verification to init to catch NPE issues

Updated index creation to write a document and delete to verify correct functionality
Explicitly made node a client
Fixes migration bug
Merge branch 'index-rebuild' into cloudformation-update