moving hex generator to helper, changed core to use the helper and added tests
reviews
Merge pull request #118 from rackerlabs/add_random_hex_generator_function_to_helper

RFR: adds_random_hex_generator_helper_function