Work on search
Replaced use of detached criteria with standard criteria. Detached doesn't seem to cope well with joins we need to do
Pretty substantial reworking of the way queries are built to allow for qualifiers on combo relations
Work on json response for search page