erasure code interface helpers

* The number of chunks and the size of a chunk cannot be infered by the caller and must be provided by the implementation.
* Decode interface helper to concat data chunks in one call

The BPC implementation will have to rebase.