[WIP] introduction of interface IChunkHandler and a very first stupid implemen...

...tation reusing the existing chunking mechanism

:construction: 

refs https://github.com/owncloud/core/issues/4997

@icewind1991 @PVince81