Add \OC\Preferences::getUsersForKey(Sapp, $key)

A new method to get users according to a key.

This method return an associative array such as array($userid => $configvalue)

Method is unit tested

see https://github.com/owncloud/core/issues/12078
This does not only get the users but also the value. - Please clarify the PHPDoc.