ncm-ceph: add erasure code support


Builds on pr #248, review this pr after #248
fixed in #248