MenuBuilder code from AOSP.
Using new pseudo-native menu framework to load main menu.
Restoring menu configuration check.
No more hack to load menu xml.
Cleanup.