Complete refactor of the submenu system to improve organization and require less rules.  Improves layout for mobiles.
Merge pull request #2044 from darkwing/menu-refactor

Refactor the submenu system