Play Correctly with Integer Komi by Understanding Ties

This branch implements the changes necessary to understand ties that are caused by whole-number komi correctly both in gameplay and during playouts.