Search: Single wildcards and date ranges

* Prevent single wildcard searches (*): A error message is shown (before: Insight crashed with APIUsageException)
* Prevent entering 'To' date which is prior to 'From' date and vice versa: Message is shown (before: Dates were just swapped).
(also removed some unused code from the classes concerned)