[hbase] Support build time profiles for Hadoop 1 (default) and Hadoop 2

Activate profile for Hadoop 2 with -Dhadoop.profile=2.0