Removed compile warnings

Compile warnings related to casting, generics, and deprecated
classes/methods were removed. There are still 3 categories
of warnings remaining:

1. Cannot find annotation method 'value()' in type 'Repeatable'

This results from the usage of @Repeatable in the core
Spring framework. This annotation is present starting in
JDK 8; therefore compiling with JDK 7 or older will
show this warning.

See the following:
http://docs.oracle.com/javase/tutorial/java/annotations/repeating.html

2. bootstrap class path not set in conjunction with -source 1.6

This results from setting a target of 1.6 when compiling with
the 1.7 javac. To guarantee backwards compatibility with 1.6,
the rt.jar for JDK 1.6 should be included in the boot classpath
for javac.

The current line of thinking is that we will enable this on the
CI server to catch any usage of 1.7 methods in the project since
it must execute on 1.6. We cannot simply compile with 1.6 on
the CI server because the tests require 1.7.

See the following:
http://docs.oracle.com/javase/7/docs/technotes/tools/solaris/javac.html

3.  Class JavaLaunchHelper is implemented in both...

This message appears on OS X with JDK 1.7.0_45:

objc[53170]: Class JavaLaunchHelper is implemented in both
/Library/Java/JavaVirtualMachines/jdk1.7.0_51.jdk/Contents/Home/bin/java
and /Library/Java/JavaVirtualMachines/jdk1.7.0_51.jdk/Contents/Home/jre/
lib/libinstrument.dylib. One of the two will be used. Which one is
undefined.

This is a bug in the JDK that has been resolved and will be released
in u60.

See the following:
http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=8021205

changed some spaces to tabs on merge
XD-1194 Handle boolean cmdLineOption default

Fixed 'jmxEnabled' CommonOption to use Boolean type instead of boolean
so that getter method could return null when the flag is not set and,
the setter would always set the appropriate precedence value when
resolving PropertySources.
Also note we have the application.yml setting XD_JMX_ENABLED to false hence
setter is always set with non-null value.

XD-1194 Remove null check on Boolean type

The getter method on XD_JMX_ENABLED in CommonOptions can never return false
as it can be either true or null.
Hence, made it to return value as is.
Add ModuleOptions to hdfsjdbc
Add ModuleOptions for aggregator processor

XD-1213: Allow conditional validation of ModuleOptions

on merge, fixed typo: ProcessortModuleOptionsMetadataSupport
XD-1220

Making JDBC batch jobs honor spring:datasource: settings

- making properties for batch-jdbc and jdbc same

- adding connection pool config to datasource for batch jobs

Fixing initializerScript reference in comment
XD-1247 XD-1248. Cleanup AbstractSingleNodeStreamDeploymentIntegrationTests
XD-343 Provide module friendly JMX object names
XD 343 Upgrade to jolokia 1.1.5 and add java client to build