[C] Rename namespace prefix from hdr_histogram to hdrh
[C] Fix warning in string formatting
[C] Add error checking for malloc failure
[C] Add simple performance test and use -O3 as compilation option
[C] Add optimisation flags and allow debug, optimisation and compiler to be set from the command line