add support for bundle namespace alias

add support for https://github.com/symfony/symfony/pull/10853 . this is compatible with older symfony versions because we just add one more parameter that will be ignored.

same approach as https://github.com/doctrine/DoctrinePHPCRBundle/pull/158
actually, this does not match the parent signature defined in the Symfony PR