Adds Menu object

adds menus to branches
automatically creates a menu for each branch
fixes serveral redirect issues in menus controller
Merge branch 'dev' of github.com:farfanoide/agalma into dev