Search grid

Finishes off the Search Grid and fixes a few bugs around html encoding which I found in the AtomStore, i.e. getValue no longer changes item[attrib], since that would mean it is encoded again every time getValue is called on that item. 

SearchConstants were updated. The accompanying tests have been submitted but will not be added to a suite until I fix the search index on the qsi jenkins uses.