Hadoop compat package

Two changes:

 - Move ContextUtil.java to its own package (`hadoop-compat`) so that this can be used in other projects
 - rename ContextUtil to HadoopCompat