Bring back loadApps() in base.php

loadApps() had been deleted by mistake in
799205488cf82312586f99185e13df6015caa2ff
Merge pull request #9194 from owncloud/revertloadapps

Bring back loadApps() in base.php