Add caching to OC\Preferences
Fix some phpdoc
remove some unneeded isset's
Merge pull request #7253 from owncloud/preferences-caching

Add caching to OC\Preferences