Allow subclassing of OC_OCS_Result class by changing properties from 'private' to 'protected'

See https://github.com/owncloud/core/issues/3091