Qt5 compatibility for unit tests
Fix Chess 960 castling bug (issue #15)