Update php7


In line with the latest moves in php we have updated phpchess to support mysqli and php version 7. over 6,000 functions have been updated. We have tested a lot, but if there are any issues, please log them on github.