Fix highlighting of query menu items
Remove wp#index-specific JS

… dealing with query select drop down behavior and highlighting of query menu items.
Highlight main menu item if no query has been selected
Add unit tests for query menu item directive
Merge branch 'dev' into fix/query-menu-item-highlighting

Conflicts:
	app/assets/javascripts/angular/openproject-app.js
Merge pull request #1494 from opf/fix/query-menu-item-highlighting

Fix/query menu item highlighting
Wired up the share modal to the API V3 star/unstar endpoint.
Cherrypicked in some merge conflicty type fixes from another branch.
Locales, locales, locales
Removed 'shown in all projects' leftovers.
Add some kind of error handling to query updates, wire up to share modal
Merge pull request #1493 from opf/feature/api-queries-star-share-modal

Feature/api queries star share modal
add links to query and wp_index

No link is actually set for now but only whether the user is allowed the action
Introduced an authrorisation service and wired it up to some of the query actions.
Cleaned up and added permissions to share modal.