Merge pull request #20 from asobolev/master

added a small test for metadata table

LGTM
Menu: show project menu and entry for settings

- Add a new menu called 'Project' to the menu bar
- The project menu appears only if a project is open
- The menu contains an entry that shows the project settings dialog
MenuCtrl: some additional tests
Merge pull request #21 from stoewer/menu-ctrl-tests

Menu ctrl tests
added sorting to the table. display label as name in the tree (if existing)
added test for Visual Item
some refactoring and a bugfix in the metadata treeitem