Add JUnit rules for rabbit and redis init tests
XD-1085 Add JobExecution stop REST endpoint

- Added stop() REST endpoint at BatchJobExecutionsController
- Added JobExecutionNotRunningException, NoSuchJobExecutionExecption as
  XDRuntimeException
- Mapped these exceptions as HTTP Not Found errors
- Move JobExecutionInfoException to JobExecutionException
XD-1010: Use eventually() matcher for file sinks
XD-1129: Limit caching of snapshot dependencies.

Sets gradle's resolution strategy for "changing dependencies"
to only cache them for 60 minutes.
XD-1117: First script tests for use in CI build.
XD-1117: Add urlencode of definition in scripts

The CI server has an outdated version of curl which doesn't
support the --data-urlencode option, so we use python instead
to encode the definition before passing it to curl.
Add wait_for_server fn to scripts
Reduce noise from curl