DNM: erasure-code: locally repairable code plugin

the code compiles and makes sense to me. it has no tests yet, but quick reviews would be most welcome.