Add support for sub menus introduced in Arduino 1.5.x

Only available for third party boards at the moment.