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.
Merge pull request #63 from arkascha/master

Fix installation via the owncloud app store