WIP Basic saveas dialog which saves query. doesn't sync with the view yet.
Wired up saveas, updating title on save.
WIP wired up query save/update. Need error handling and such.
Put in some status alerts for creating/updating queries. Still needs error handling.
Cleaned up dropdowns and save dialog a bit.
Put in some very half-arsed error handling for create/update queries.
Merge branch 'dev-angular' into feature/ng-toolbar-save-query

Conflicts:
	app/assets/javascripts/angular/controllers/work-packages-controller.js
Merge pull request #1272 from opf/feature/ng-toolbar-save-query

Feature/ng toolbar save query