OCS route for thumbnails

This replaces https://github.com/owncloud/core/pull/10805, changes:

- Code style fixed
- Exception thrown in case file is not found
- Route does not use GET parameters anymore

@georgehrke 
For new stuff we should do real REST. So 404 is good. The old stuff has to stay backward compatible unfortunately