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
uups. thanks for spotting that. fixed it.