Integrated recent work on bitboards and movegen

Move generation algorithms are now passing all tests.
The tests need to still be extended to include testing all rays.