[POC] PHP-DI container

This POC is based on #5946 and introduces a DI container ([PHP-DI](http://php-di.org)) to create objects.

I've created the pull request to get the tests running, I will update the description later.