chore(di): Adopt PHP DI

TODO:
 - [ ] Ensure support for `mod/plugin/classes/Ns_Class.php` is still present
Can you explain what this does?