Updated hmtest to HackMaster 5ed.

Refacted dice.py.
Other Bits and pieces.