Stable7 autoloader

backport of https://github.com/owncloud/documents/pull/322 to stable7