unit test testSetAppValueIfSetToNull() added
fixing undefined exception classes
using array_key_exists() instead of isset() - required because in case the value is null isset is returning false
Merge pull request #8102 from owncloud/fix-appconfig-master

Fix appconfig master