XD-1425 UI unit and E2E tests changes

* Fix Karma unit tests
* Update dependencies
* Polish README.md
* Setup Protractor support
* Migrate E2E tests

XD-1425 Execute unit tests as part of build; add `tasks` folder

XD-1425 Fix XD Services Unit tests

XD-1425 Update `angular-ui-router` to `0.2.10`

XD-1425 Polishing Karma setup
XD-1600 BatchJob existence check at admin

- Verify the existence of batch job with the same name in batch jobrepository
  - At `JobsController`, use `DistributedJobLocator` to verify if the name exists
- Add test in `spring-xd-dirt` and fix the tests in `spring-xd-shell`
- Update license header and author
Fix RestControllerAdvice
XD-1632 Unique queue names for shell tests

- Generate unique queue name
  - make sure queue name doesn't affect any of the functional aspect inside the streams
- Use the hard coded queue name in case of `testUsingScript` in RouterSinkTests
Increased timeout for FileSourceModuleTests
Improved interrupt handling in tests
Avoid RouterSinkTests assert race condition
XD-741 Removed xd-global-beans.xml

Moved a couple of beans that had been defined there to ParentConfiguration:
1. delegatingHandlerMapping
2. mbeanServer

Moved the 'moduleOptionsMetadataResolver' bean to: repositories.xml
XD-741 changed mbeanServer() to return a FactoryBean in ParentConfiguration
XD-1597 Update Spring AMQP to 1.3.2

JIRA: https://jira.spring.io/browse/XD-1597

Fixes an endless loop if a message cannot be
converted.

Adds a default error handler that rejects such messages;
they can be directed to a dead letter exchange if the
queue is so configured.
XD-1637 Re-enable JSHint task

- Fix `jshint` reported issues
- Remove loading of `grunt-protractor-runner` in Gruntfile.js as it is
taken care by `load-grunt-tasks`
- Fix watch target to include all the script files
 - Also, call `karma` test target in case of watch detected changes
XD-1590: Move ephemeral nodes to /xd/deployments

In order to have a clearer separation of definition vs runtime
information, the ephemeral nodes written by containers were moved
from /xd/streams/stream-name to /xd/deployments/streams/stream-name.
Same for jobs.

The work of building these path streams falls under StreamsPath and
JobsPath. These classes were renamed to StreamsDeploymentsPath and
JobsDeploymentsPath, respectively.

Class DeploymentVerifier was introduced into the test package. This class
is used to block execution until a stream or job is created, destroyed,
deployed, or undeployed. Instead of extending this class, stream and
job path information is provided via the DeploymentPathProvider interface
which is passed along to the DeploymentVerifier constructor. A new
exception type RuntimeTimeoutException was introduced in order to
indicate a timeout. This is a runtime version of TimeoutException which
is a checked exception in the JDK.

In SingleNodeIntegrationTestSupport, if a PathChildrenCache object is
created in addPathListener, the listener is added before invoking start
to ensure that no events are missed.

In ContainerRegistar, a subtle race condition was fixed in
registerWithZooKeeper. The admin leader/supervisor will delete nodes from
/xd/deployments/modules/[container-id] for containers that are not present
under /xd/containers. Therefore if a new container creates a
.../deployments/modules node before creating its /xd/containers node,
the leader could delete its deployments node. This has the nasty side
effect of rendering any PathChildrenCache instances for the deployments
path useless since it won't receive events from a path that is deleted
and recreated.

StreamListener now offloads module deployment and undeployment via a
dedicated thread in order to prevent the Curator thread from being
blocked. We might consider making the executor service multi threaded
at some point if there is a benefit.

ZooKeeperStreamRepository will delete the data under
/xd/deployments/streams in the order in which the stream modules were
defined. This allows for an orderly undeployment of streams. It is obvious
that the source should be undeployed first and the sink last. Other than
loading the stream definition itself (and parsing it, etc) the only way
to know what order to undeploy the processor modules is to examine the
order in which they were deployed. This can be done by examining the
ZooKeeper transaction id as all writes in ZooKeeper are ordered.

Some of the test asserts were enhanced with extra debugging information
to assist in test failure analysis.

The default timeout in DisposableFileSupport was reduced from 10 seconds
to 1 second. This was done because the asserts that use this class all
use the "eventually" matcher which executes underlying matchers multiple
times. For tests that fail due to a module deployment issue and thus
preventing the expected file from being created, this combination would
cause the tests to execute for a very long time before timing out. In
fact this condition could be easily mistaken for a "hung" test.

On a related matter, the defaults for EventuallyMatcher were reduced
from 50 tries to 20 tries.

Fixed JavaDoc issues and modified RuntimeCommandTests
testListRuntimeModulesAfterUndeploy to wait for an
undeploy before verifying undeployment.
removed redundant waitForUndeploy
Stream deployment test improvements

Changes in AbstractSingleNodeStreamDeploymentIntegrationTests:

- Updated existing JavaDoc and added new doc, including
  instructions on how to extend.
- Introduced constants for some queue names
- Rearranged setup/teardown and utility code to
  appear at the top of the class.
added toString to TableRow for assert detail in tests
Only return module info for active containers
XD-1456 Using Spring Boot as base for Acc tests.

The previous version of Acceptance tests was driven by environment variables to configure
the tests and this became unwieldy.   This PR setup acceptance tests to use @SpringApplicationConfiguration and XDEnvironment to configure the tests. The other benefit is that through the use of profiles a user can setup test scenarios as different profiles.

Other things done:
* Added MQTT Test
* Foundation for JMS test (JMS Source ) has been added, but left out the test because it already has its own Jira.
* Created singlenode and ec2 properties for users.
* Removed all test configuration properties from build.gradle
* Instructions now reflect the use of SpringApplicationConfiguration
XD-1456 - Code Review
XD-1455 - Tests now check exact count of messages
Use EventuallyMatcher for module tests

Added custom matcher to invoke shell command to obtain
stream modules. Combined with EventuallyMatcher this
allows enough time to ensure that modules are deployed
or undeployed without inserting arbitrary sleeps.