Replacing ini_get instances with inigetwrapper usages

resolves https://github.com/owncloud/core/issues/11074
because we cant access OC::$server where it was before in memcache.php which is used in the autoloader cache