Fix tests and compiler warnings

- Added an additional check to make sure the testMessageBus doesn't refer to a different
messageBus set by previous test that also uses AbstractSinglenode test.
For instance, if RabbitSingle node tests run before
RedisSingle node tests and Rabbit wasn't available, the Redis tests still use
Rabbit message bus that was set by the AbstractSingleNode test class.
Since the TestSupportResource is evaluated after the testmessagebus
is set, adding this check is needed.

- Fixed compiler warnings
XD-1087 Create REST API for restarting a specific job instance

* Add tests
* Add rudimentary UI support

Jira: https://jira.springsource.org/browse/XD-1087
Upgrade to Spring HATEOAS 0.9
XD-1305 File Sink now supports configurable modes

Originally the file sink only supported the append mode.
Now supports APPEND, REPLACE, FAIL IGNORE
XD-1294 Update xd reactor dependency

- Move the reactor Environment bean definition out of module common context
- Remove the 'spring-xd-extension-reactor' runtime dependency from spring-xd-dirt
- Add back 'spring-xd-extension-reactor' runtime dependency to reactor-syslog module

Add reactorEnv bean to syslog module

- Add the reactor environment bean to the reactor-syslog source
module so that the reactor environment is only loaded when this
module is deployed.
XD-1316 UI:Fix E2E test warning
Update xd ui test task

 Rename ui test task to 'ui_test' so that gradle test won't
  call spring-xd-ui tests. To run the E2E tests, the ui_test
  task needs to be invoked explicitly.
 The 'ui_test' task will also build the UI and runs the unit tests
  as it depends on 'grunt_build'

 Once we have valid UI tests, we will rename the task ui_test to 'test'
  so that will run as a 'test' task.
XD-804 Added integration.support package to dirt and used in AbstractSingleNode...Tests

XD-804. Refactored SingleNodeTestSupport and SingleNodeApplication per review

XD-804 Renamed package integration.test and added module resource location support

XD-804 Updated javadocs and added moduleResourceLocation arguments to processing chain creation methods

Javadoc fixes + random ports
Refactor jdbc script tests.

Extract variables for driver, url etc.
adding missing compile dependency on hibernate-validator
XD-1318 Start Container before Admin

- Moved the DAO beans back to 'adminServer' profile in batch.xml
  This will make sure these DAOs are only available in AdminServer's
  parent configuration
- Added the necessary DAO beans into singlestep-partition-support
  This will make sure these beans will only be loaded when the job
  module that requires singlestep partition support is deployed into
  the container. And, by this time the admin should be up as that's
  where the ModuleDeploymentRequest is coming from.
- Fixed the tests context files
XD-1060 XD-1182 add hdp20 and shdp M5

Squashed below commits:
- XD-1182 Switching back to hadoop12 as default for build to get all tests to pass
- XD-1182 Updating stub test class to match new method signatures
- XD-1060 XD-1182 Adding hdp20 as Hadoop distro; updating to spring-data-hadoop 2.0.0.M5
XD-1314 Adding new xd-yarn zip distribution

Squashed commit of the following:
- XD-1314 Adding new xd-yarn zip distribution zip to build
  adding empty spring-xd-yarn subproject
XD-1303 JobInstance REST endpoint

- Add ResourceAssembler that builds JobInstanceInfoResource out
of JobInstanceInfo domain object
- Added REST endpoint /batch/instances/{instanceId} that returns
the job instance for a given instanceId
- Updated the existing REST endpoint /batch/jobs/{jobName}/instances
to return jobExecutions along with the given jobInstance
- Refactored Batch controllers
 - Created AbstractBatchJobsController that can be extended by XD batch
job admin controllers
 - Removed NoSuchJobException and used NoSuchBatchJobException by moving
the logic to update message when there is no job name

Use RestController and minor fixes
XD-1327 Fix Rabbit source

- Removed outputType module option from RabbitSourceOptionsMetaData
as it is already set from ModuleTypeConversionPluginMetadataResolver's
OutputOptionsMetadata
XD-1303 Fix JobInstanceInfoResource

- Make JobInstanceInfoResource to have the collection of
JobExecutionInfoResource beans instead of JobExecutions
XD-1295 Support proxied channels in ModuleTypeConversionPlugin

Checks whether the channel is proxied and if so, extracts the target
object before casting to AbstractMessageChannel.

Fixes a problem where enabling JMX causes the channels to be
proxied by IntegrationMBeanExporter.
XD-1245 Integration tests for XD

Combines a variety of commits.  836eb9c, 4f9ed41, f806fc1, 84bee40, and 52ea5b1.

Laundry list of features

- xd_container_log_dir now requires a name of log
- Update logging configuration for better IDE support
- Supporting stream creation & HTTP Post
- Add send command
- AssertReceive functionality is available
- Classes to support the results from JMX
- Cleaned up code and separated tests.
- Updated documentation
- Added Instructions for usage.
- Cleaned up the JMXRequest Code for Models
- Tests now check that stream output is correct.
- Spring-xd-integration-test is now a sub project of spring-xd
- Spring-xd-integration-test tests are excluded from main build
- Spring-xd-integration-test tests can be executed using the following command
```
./gradlew -Drun_integration_tests=true -Dxd_container_log_dir=[xd logs directory] :spring-xd-integration-test:build
```
- gradlew.jar was removed (since xd-integration-test is no longer a standalone project)
- src/main/resources was removed
- Removed home grown stream create/destroy code with StreamTemplate
- Created Sink and Source utility classes
- Replaced JClouds-all dependency with JClouds-ec2
- Tightened up the code for checking results in the File.
- Added code to check for results in the log file.  This is done by checking for a UUID generated for the http send.
Upgrade boot to RC3

- Updated version to 1.0.0.RC3
- Fixed the package name changes
- Change SpringApplicationEnvironmentAvailableEvent to ApplicationEnvironmentPreparedEvent
XD-1090: Shell job exec restart