Add event-based removing of query menu items
Add id to work package main menu item wrapper…


… to make the query container selectable
Add menu item factory, generate query menu items (WIP)
Fix initial open status of the wp menu
Rearrange query menu item-related angular code
Change filename of query menu item directive


The file also contains the factory that is responsible for creating new query menu items on the fly.
Fix karma (query-menu-item directive test)
Add copyright headers an some documentation to ng query menu items
Remove ‘refresh page’ notice when hiding/showing query menu items
Begin adding unit tests for query menu item factory
More query menu item factory specs
Split up query menu item karma tests
Add hack to update query highlight name (WIP)


TODO add proper endpoints
Update query menu item name when the query name is changed
Merge branch 'dev' into feature/automatic-menu-item-updates

Conflicts:
	app/assets/javascripts/angular/controllers/dialogs/settings.js
	app/assets/javascripts/angular/controllers/dialogs/share.js
Add lost copyright header again


[ci skip]
Add specs for removing query menu items on the fly
Abort query menu item generation when there is no menu container
Remove repeated module declaration in angular test


[ci skip]
Merge pull request #1524 from opf/feature/automatic-menu-item-updates

Feature/automatic menu item updates