Features2x 2229673

Here is @lsolesen improvements and my fixes to solve some features build items on menus (such as sorting menu items that have parents.) Also solves a dependency issue.