Correctly map work package permissions onto possible actions in API


Also fixes the context menu and features/work_packages/moves/work_package_moves_new_copy.feature
Merge branch 'dev-angular' of github.com:opf/openproject into dev-angular
Fix another cuke broken by the toolbar prototype implementation
Only update the selected title on wp#index if the query has a name
Set the query name when setting up the query to fix selected title...


... on work_packages#index
Partly fix work packages table updates when the query is changed
Mark query menu item cukes as wip (WIP)


TODO - Integrate the menu item links somewhere in the toolbar
Complete the query setup before setting up the wp table
Reorder stuff in the work packages angular controller
Renaming in work packages controller
Move shared work packages index data to services for easier access
Merge pull request #1278 from opf/angular/work-packages-index-setup

Angular/work packages index setup
Merge branch 'dev-angular' into feature/style-guide-subtree