make thread job factory compile
fix format url error
SAMZA-440; fix infinite loop in broker proxy when partitions move in kafka
SAMZA-443; only set JAVA_HOME if it's been defined via task.java.home or yarn.am.java.home
merge with master