UDF to convert from binary to hex

create a binary to hex conversion UDF for hive versions < 0.12.0 which don't have any binary conversion functions