Move to new namespace convention and add new result sub-classing
Add legacy adapters for file search
fix formatting
Add audio and image result types
Add audio and image result types
fix minor typos
decode filename for scrollto
use path param to create scrollto url
Re-add type to legacy OC_Search_Result class
Move legacy search to 'lib/private/legacy'

This fixes errors where apps would try to start providers using
OC_Search and would fail. Also, made OC_Search simply inherit from
\OC\Search.
Move new search results to 'lib/private/search'
Simplify client-side result customization

The issue was that search results from other providers (contacts,
calendar, etc.) were unformatted, like 'event' or 'contact', while the
built-in event types (folder, file, etc.) were being modified by custom
result functions to something like 'Files' or 'Folders'. The fix is to
capitalize and translate all result types by default. Custom formatting
is still allowed (and example documentation has been added) but the
built-in result formatters where now unnecessary and were removed.
minor phpdoc cleanup and imports
make search non-static, add ISearch to server container, make legacy a static wrapper for it, move provider and result to public api
Added hacky fix for long path cleanup routine
fix namespace for legacy search classes
use non static access to search
allow apps to add translation for search result typeid
No need to create a storage within remove
add more and fix office mimetypes, migrate wrong mimetypes