XD-1449 Upgrade Spring Shell to 1.1 RC1
Fix gemfire & twitter script tests

- Added explicit sleep to make sure there are no timeout issues.
shutdown leader Admin on context stop
XD-1483, XD-1484, and XD-1485

XD-1485: Modify module deployments path

https://jira.spring.io/browse/XD-1485

Modified deployments path from /xd/deployments/[container]
to /xd/deployments/modules/[container]. This will pave the
way to allowing for the use of /xd/deployments/streams
to handle stream deployment.

XD-1483: StreamListener watches /xd/deployments/streams

https://jira.spring.io/browse/XD-1483

XD-1484: JobListener watches /xd/deployments/jobs

https://jira.spring.io/browse/XD-1484

Removed "deploy" flag from Streams and Jobs. Deployments are
now handled via additions/removals from /xd/deployments/streams
and /xd/deployments/jobs.

merged after addressing review comments
fix race condition for stream properties
XD-1441: Implement XD_MODULE_CONFIG_LOCATION and XD_MODULE_CONFIG_NAME

* Supports leaf propety lookup with _<profile> suffix
* Supports root module config file with _<profile> suffix
Fix dependencies of PMML module
XD-1459: Insulate module from Environment
XD-1208 Add Module options for OOTB jobs

- Add HdfsMongodbJobOptionsMetadata for hdfsmongodb batch job module
  - Update hdfsmongodb module
- Add module option Mixins that are common to batch job modules
  - Add mixins for BatchJobDeleteFilesOptionMixin, BatchJobFieldNamesOptionMixin, BatchJobResourcesOptionMixin,
BatchJobRestartableOptionMixin
  - Update existing OptionsMetadata pojos
- Fix jdbc_test to have more sleep between job_create and job_deploy

XD-1208 Remove idField default

- Specify "null" string as default in hdfsmongodb.xml

XD-1208 Better handling of idField

- Update hdfsmongodb.xml
  - If idField is empty, then the converter would use Tuple's id
- Fix Assertions in converter

Various fixes
improved use of settable future in test
Add setupUI task into XD bundle

- Update :spring-xd-ui:setupUI task as a dependency into copyInstall
- Disable karma unit tests until XD-1425 is fixed
Disable imagemin task

- CI build and few other platforms have failures running this task.
Hence, disabling it and copy the images directly into dist.
Fix package tangle

- Move StreamFactory from org.springframework.xd.dirt.core to org.springframework.xd.dirt.stream
Fixed issue with stream/job undeployment

When undeploying a stream/job the stream/job definition is loaded
in order to perform a graceful undeployment of the underlying
modules. However if the stream/job definition has already
been removed from /xd/streams|/xd/jobs then the definition
cannot be loaded. This fix will prevent an attempt to read
a definition that has been removed.

Test improvements, improved JSON parse error

AbstractSingleNodeStreamDeploymentIntegrationTests.moduleChannelsRegisteredWithMessageBus
will fail fast if module deployments fail.

Ensure that thread interrupt is honored in SingleNodeIntegrationTestSupport.waitForStreamOp.

MapBytesUtility will include an improved JSON parse error message.

Bug fixes

Fixed issue with admin server using cache of /xd/deployments/streams
to read stream definitions instead of /xd/streams.

Fixed issue where admin server was always assuming that
/xd/streams/stream-name was always expanded (implying that
all streams are deployed).
using StreamCommandListener in integration tests
avoid race condition for deploy/undeploy events
Obtain stream list from deployments path

When a new container joins the cluster the admin will determine
if a module should be deployed to it. This change ensures that
only deployed streams will have their modules considered for
deployment.
XD-1481 - Remove spring-xd-analytics-ml-pmml project

Removed from the build.
Updated spring-xd-analytics-ml with implementation/tests in https://github.com/thomasdarimont/spring-xd/tree/feature/XD-1420
Fix UI build dependent task

- Make `:spring-xd-dirt:installApp` dependsOn `:spring-xd-ui:setupUI`
XD-1469: Fix aggreator correlation