erasure code plugin test

Note: it depends on https://github.com/ceph/ceph/pull/603 and includes the two commits. I'm not sure if it's possible to have one pull request depend on another in a way that would make this dependency visible to the reviewer.

* ErasureCode: complete plugin loader unit tests
* ErasureCode: plugin loading in progress flag