HADOOP-7019 Refactor build targets to enable faster cross project dev cycles. Contributed by Luke Lu.