Redesign advanced search. Add options to search bar and remove dialog.

I have added new options to the searchbar. Now the advanced search is
toggle button that makes visible a bunch of checkboxes and replace entry
and button. When a checkbox is clicked a new search starts.
This closes #1.