[RFR] [Plugin] Create plugin engine on Php side for JS #10 #9

This PR includes commits for #9 and #10.


It's not forbidden but can be more interesting to follow [Symfony standards](http://symfony.com/doc/current/contributing/code/standards.html#naming-conventions)  as we probably need them ;)