Fix castling bug
Track king safety
Paste in duplicate() methods from previous branch
Amend process for board duplication
Enable jquery-ui; implement dup() & duplicatePiece()
Implement dup()
Duplicate board to test movement validity
Merge branch '26-12-pawn-queening-and-en-passant'