Support for both Hadoop versions 

Supports both Hadoop 1 and Hadoop 2. The goal is to make the compiled jars work with either version of Hadoop.

Need to make travis-ci run tests in one profile with classes compiled with another profile. Not sure if mvn lets us run tests without building.

TODO:
 - should we update the version to 4.0?
 - update documentation
 - more mixed testing