[webui] refactor webui search module a bit
[webui] move bug issue search next to search field. Since they can be combined, but also used alone.
[webui] no error messages when searching for a disturl successfully
[webui] fix error flash with empty search string
[api] refactor source#index_package

Some of the code branches are rather bizzare