Add IniGetWrapper to public interface
Check if open_basedir is set

The file:// protocol does not work with curl when an open_basedir is set.

This fixes https://github.com/owncloud/core/issues/12016
Merge pull request #12781 from owncloud/jenkins-curl-open-basedir

[Jenkins only] curl open basedir