Synergy navigation

Consistent menu for all modules.

Main changes:
* added ``Menu`` class,
* refactored ``ui/base.html``,
* adapted Core and CMDB to new menu mechanism.

Please review.
settings?