ncm-ceph: add erasure code support

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