start refactoring for binary pieces storage
Game.allPieces convenience function
Game.isStandardInit
export castles logic
Merge branch 'master' into binaryPieces

* master:
  more binary PGN testing
  more PGN tests
  fix tests
use byte arrays for position hashes
upgrade hasher
round clock limit to minutes, use time compensation for limit=0