Replacing ini_get instances with inigetwrapper usages

resolves https://github.com/owncloud/core/issues/11074
Use `getBool` and merge this?