Threefold repetition

Threefold repetition check now implemented via HashMap (so far in
StandardGame only)
Still need testing for both 50 move rule and threefold repetition