Only permit castling moves if king/rook haven't moved at all

Fixes #26