adding support for bulkloading in local mapreduce mode

This mirrors the patch for https://issues.apache.org/jira/browse/HBASE-7744