test class overhaul

I gave the test class structure a generic overhaul because many tests are actually integration tests because they require an instance of solr running.

Other minor changes:
* using strings for identifiers and keywords
* adding todos and fixmes to test classes
* changed file encoding of JSPs