Adds hadoop2 maven profile and fixes tests

* adds "hadoop2" maven profile
* switches tests depended by hadoop version

Change-Id: Icd79a400b90b4cd19ac093355a9f731a2195de10
Closes-Bug: 1401027