Fix TMD test on java7
change Message IDs to ints
patch by jbellis; reviewed by vijay for CASSANDRA-5307
move hintFor into HHOM