WebSearch: better retrieval of record tabs
WebSearch: better retrieval of record tabs

 * When retrieving the tabs for the detaild record pages,
   use the guess_collection_of_a_record() function that
   also takes into account the referer. (addresses #2068)

Signed-off-by: Ludmila Marian <e82cd4fb30962648dc4a4769a1bcc5e649b71d6b@gmail.com>
Reviewed-by: Tibor Simko <c7116e45300b163846dc01f3ed02116e3f8ef7a5@cern.ch>

inveniosoftware/invenio,tiborsimko/invenio,tiborsimko/invenio,inveniosoftware/invenio