moved build_xd to gradle/
XD-926 Update to SPR 4.0.0.M3

Issues:

- GenericApplicationContext needs refresh()
- GenericApplicationContext doesn't allow getBean after destroy
     the ModuleDeployer tried to unbind the channels after destroying the context
- Problem with @Autowire and @Qualifier when bean in parent context

Resolution:

- Add refresh() to test that needs it
- move module.close() until after unbind
- Under investigation; work around is to not use a qualifier but name the parameter with the bean name

Also:

- Add qualifier to SimpleModule.toString() to enable debugging when the same module is deployed multiple times in tests

Polishing:
- Stop the module before unbinding it
- Destroy the module's context after unbinding it

Previously, the context was stopped and destroyed in module.stop()
which caused the unbind to fail with SPR40.
XD-916:Change file source to support contents or file reference
XD-927: Use ModuleType enum everywhere
XD-958 Fixing path for tmp directory
XD-958 Testing path for tmp directory for trailing /
XD-941: Apply to GemFire
XD-941: Apply CP to Gemfire, twitter and splunk
bump Splunk to 1.2.0
Fix twitter module.

twitter modules need some Jackson 1 classes. Note that those can't be
loaded by the module itself if RestTemplate is loaded by Dirt (which is
the case at the moment). Hence, added jackson mapper at Dirt level
XD-907: Add aggregate counter year resolution
XD-957 Update SI Dependency - 4.0.0.BUILD-SNAPSHOT

Mainly just import changes and a method name change on
the ChannelResolver.
XD-961: Fix XML serialization of streams