REVIEW: [NX-163] remove plugin manager (step 1)

* register static resources in plugin module
* use mediator to register repository types
* trim+remove various redundant classes