bootstrap3: cleanup application dropdown menu

As reported by P.A. Schembri bootstrap3 does not have anymore the
submenu support for dropdowns. Rework it accordingly.
Update Changelog
bootstrap3: in dropdown menu avoid divider on latest app
Merged master
Merge from master (dropdowns)