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.

See [core pull #1473](https://github.com/owncloud/core/pull/1473) for more information.