Advanced search rebased

This adds the Advanced Search app to the apps repository. @butonic and @jancborchardt please review whether this is along the lines of the search functionality you were looking for.