XD-479 Add Conversion to Channel Registries

XD-479 Add NoOpRedisSerializer

Fix up adapters to not use toString() if payload is already byte[]
and the valueSerializer is a NoOpSerializer.

Clone the SI publishing adapter to do the same.

Still doesn't do any real conversion, just to/from String and byte[] (TODO).

XD-479 Add Inbound and Outbound Conversions

- port @dturanski 's JsonRedisSerializer, removing Redis and
    renaming to TypedJsonMapper

- outbound conversion passes byte[] without change and uses the
    TypedJsonMapper for other payloads. The local transport
    performs no outbound conversion.

- inbound conversion uses the TypedJsonMapper to get back to the
    original object; if the sink doesn't support the type, attempt
    to use the conversion service to convert to a supported type.

- Add a boolean property (default true) to the LocalChannelRegistry
    that controls whether any conversion is attempted.

Add tests
XD-479 Polishing

Increase test coverage on conversion code.

Add sendAndReceive test to AbstractChannelRegistryTests
XD-479 Polishing (PR Comments)

Also, MediaTypeTests didn't actually test anything.
Merge branch 'XD-479' of git://github.com/garyrussell/spring-xd into garyrussell-XD-479
XD-533 - Create sehll integration tests for stream lifecycle
Merge pull request #156 from parikhkc 8e7952f4542fbc1a018137966e54df279db036f0
CORS support available

Cross origin resource sharing for a hard-coded local url"
http://localhost:9889
XD-556 CORS Support - Merge pull request #157 from aeisenberg-cors-support

Removed CORSConfiguration class.  Moved interceptor to the
RestConfiguration class.
XD-472 XD-473 Adding support for multiple Hadoop distros

Adding a startup option  --hadoopDistro for server scripts.
The default is hadoop10 (Apache Hadoop 1.0.4). Based on the
default or passed in distro we will add the correct jars to the
classpath

Adding spring-xd-hadoop distro specific sub-projects with the
following distros:

- hadoop10 - Apache Hadoop 1.0.4

- hadoop11 - Apache Hadoop 1.1.2

- hadoop20 - Apache Hadoop 2.0.5-alpha

- phd1 - Pivotal HD 1.0
XD-489 Add support for Tap Instances

Jira: https://jira.springsource.org/browse/XD-489
XD-331: REST Rich gauge API

Remove RichGaugeService and move methods to repository in preparation
for use by controller implementation. Implement controller and test.
XD-503 User can now have an job that has an invalid definition deleted.

JobController now support the ability to handle runtime exceptions.
JobDeployer has the ability to remove a module from the repository even though the definition is invalid.

MLP - added additional test to ensure invalid job wasn't created.
CI build failing but not on my box - could perhaps be related to --analytics setting in AbstractShellIntegrationTest
Reproduce in gradle build on my box - something about boostrapping the shell tests is conflicting with https://github.com/SpringSource/spring-xd/commit/9f31b2ce6dc6b41e3cb0c390a99b3d42b481969b

Can't find an impl of RichGaugeRepository in the app context.
Add missing bean definitions for analytics
quick fix for conflicting command line options.  See XD-581
Fix various issues following recent merges
Made AbstractRedisRepository provide the key when deserializing from redis
Factored out boilerplate code in Redis repositories
XD-438: Use channel names in stream plugin.

Now uses the channel names from the DeploymentMetadata instead of the
"group.index" construct.

Also simplified StreamPlugin by removing the use of the base class.
XD-585 - upgrade to spring social 1.1.0.M3