Replacing ini_get instances with inigetwrapper usages

resolves https://github.com/owncloud/core/issues/11074
Needs work.