adding special handling of checkPrecondition() for chunked upload

alternative approach for https://github.com/owncloud/core/pull/9771

fixes #9769 as well

and enables If-Match header checks for chunked upload

@dragotin @PVince81 THX
how about adding a check here that checks if $info really contains the key 'name'?