Cleaned up cache directory configuration.
URL-encode IDs in filenames to reduce the chances of illegal filenames and for consistency with Solr data source.
Sorted using Notepad++ TextFX

Sorted using the TextFX function.
Fixed bug related to params/results template refactoring.