Improved base route name/pattern detection

- Uses more generalized regex to support things like:
    Symfony\Cmf\Bundle\MenuBundle\Doctrine\Phpcr\MenuNode
- See test case ..