Tests and refactoring.
Introduced some new classes to model the columns in the search results grid.
Fix for #323 - view button on search results grid is now enabled/disabled appropriately.
Set button text based on whether associated record is already active.
Only add record to store if not already added.