DS-1878 make search URL recognize Lucene/Discovery in mobile theme

https://jira.duraspace.org/browse/DS-1878