upgrade chessground, rework training UIs
Merge branch 'master' into play-mithril

* master:
  upgrade chessground, rework training UIs
implement auto threefold draw on server side