Added new exceptions to be used with Git Automate

This work is related to the GIT Issue.
https://github.com/ManageIQ/manageiq/issues/1199

Issue #1199
Use Domain instead of Namespace in specs

Issue #1199

When we move to GIT a domain woud be a separate repository and will
be distinct from Namespaces. In the Postgres the Domain and Namespace
are stored in the same table.
The specs were changed to count namespaces separately from domains.
Merge pull request #1216 from mkanoor/namespace_to_domain

Use Domain instead of Namespace in specs
Merge pull request #1204 from mkanoor/git_exceptions

Added new exceptions to be used with Git Automate
Move variable initialization for clarity.
Merge pull request #1217 from martinpovolny/workers_tab_followup

Move variable initialization for clarity.
Angular Prototype for Repository Editor

- Added a controller specific to the repository editor form
- Added a directive specific to the repository editor form
- Added a couple generic directives that would have an application-wide usage
- Changes made to RepositoryController (@edit related changes)
- Added a JS function to display flash messages triggered through Angular events
- Added Jasmine tests

#1064