Restructured search to have a generic input box in the sidebar. Fixes #296
Fixed the date slider in search results.

It is now correctly initialized even when invoking search through an
URL (before Statistics set limits after slider was already rendered).