Manage permissions for query menu items

Bind permission for managing query menu items to the user's corresponding permission for queries
Update indentation of work_packages#index view