Move generation unit testing is now working

Fixed two small bugs in the movegen.
Added Board and BoardStatus serialization for diagnostics.