Add hadoop v2 support to hadoop element

Partially implements bp: vanilla-plugin-hadoop-2

Change-Id: Ifc87c6c702d8198a1840620de3d85c575da6c98e
Merge "Add hadoop v2 support to hadoop element"