added support for the Symfony HttpKernel fragment sub-framework

Closes #783 and #802

Todo:

 - [x] add some tests