SHDP-181 Adding build option -Dspring4 to build and test against Spring 4.0

Adding 4.0.0.M3 as the Spring 4 version

Changing Spring 3 version to be 3.1.4.RELEASE
SHDP-176 Updating requirements page in ref doc
Removing version for spring-batch.xsd
Fixing JavaScript issues in test scripts to support using Java 8
SHDP-186 Changes for batch 2.2.2 and core 3.2.4

Fixed remote dao implementation due to api changes.
AbstractBatchAppmaster is still not finished due to
some weird bugs with StepExecutions in HashSet, file
contains some debugging and testing code.
SHDP-175 Fix XML Schema reference
SHDP-186 SHDP-188 Fixing some batch problems
Merge remote branch 'jvalkeal/SHDP-186'
SHDP-183 Update Spring Integration version
SHDP-194 Adding support for building ans testing against Cloudera CDH4 YARN (cdh4yarn)
SHDP-191 Adding prep step to remove output directory if left behind from failed run
Fix formatting
SHDP-191 Fixing namespace prefix
SHDP-189 Fix slow app state wait, tidy javadocs

Adding break label order to jump out from inner loop.
SHDP-197 temporary fix to before SHDP-198
SHDP-190 Better concept for handling tests

Returning both state and application id when submitting
app via AbstractYarnClusterTests. Simplify finding log
files from a minicluster.
SHDP-200 Change test timeouts, junit and hamcrest changes.

Adding better asserts and modifying app running timeout from
60 sec to 120 sec.

Change junit from 4.8.2 to 4.11 and hamcrest from 1.2.1
to 1.3. This works better and removes bundled hamcrest
classes in junit which is messing with a classpath.
SHDP-200 add stderr content as assert reason
SHDP-200 Tweak ClusterBaseTestClassSubmitTests classpath

In this test we localize all dependencies which gives errors in
stderr due to duplicate entries for slf4j libs if default hadoop
classpath entries are defined in env variables. Tweak test not
to use default yarn classpath entries.
SHDP-209 Reverse namespace split for the batch namespace