Replacing ini_get instances with inigetwrapper usages

resolves https://github.com/owncloud/core/issues/11074
@bantu Please by all means since you wrote this if you see an issue fix it.