Greyed out save as/share options for unsaved queries in setting menu.
Refactored to a solution to not perform disabled menu actions.
Merge branch 'dev' into feature/settings-disabled-actions

Conflicts:
	app/assets/javascripts/angular/directives/work_packages/options-dropdown-directive.js
	public/templates/work_packages.html
Added some tests for options dropdown directive.
Merge branch 'dev' into feature/settings-disabled-actions

Conflicts:
	app/assets/javascripts/angular/directives/work_packages/options-dropdown-directive.js
Merge pull request #1384 from opf/feature/settings-disabled-actions

Feature/settings disabled actions