Fix installation via the owncloud app store

There was a problem with a lot of internal classes beigng used.
Apparently there is a means to prevent that for unpriviliged apps in OC now.