Crash Search (rebased onto develop)



This is the same as gh-2120 but rebased onto develop.

----

To test
 Login as user-4. Search for image per name. Search first for *.png No results incoming. Restarted the search couple of times. After this, searched for a concrete image (an .svs) Got some search results, but they were too many to be true. Clicked on one of them.

see https://trac.openmicroscopy.org.uk/ome/ticket/11994