Removed unnecessary navbar code.

I'm not really sure what this extra code is even for. If you need to get certain parts of a menu you should use knp functions first:

    {% set item = knp_menu_get(menu, ['Comment', 'My comments']) %}

And then render it:

    {{ mopa_bootstrap_menu(item, {'automenu': true}) }}

We also don't need to fetch the menu unless we're sending it to the MenuConverter, the renderer will take care of that on its own.