Added some grid movement wraparound logic. This is rapidly getting ugly.
See issue #165
Merge branch '165-rolling-grid' of https://github.com/Revolutionary-Games/Thrive into 165-rolling-grid