Route for thumbnail generation

Related to https://github.com/owncloud/android/pull/586
you can just do ```$preview->showPreview('image/png');``` instead