Move location of class files to src/
Fix license and tweak spacing
Add a .gitignore file
Add foundation for phpunit test framework
Implement test and fix for half-move calculation bug