Added checkmate and check rules, added FEN string parsing, added some jasmine tests