Significant cleanup and memory optimization.
Adds ability to index text and PDF files.
Clean up entities in the default, add category and edit category actions.
(should work with CMSMS 2.0)