BZ-1075073: IndexWriter is closed during shutdown. Now Index shutdown has better mechanism to notigy BetaIndex about shutdown (including callbacks). Added indexing capabilities to showcase