Moving tic tac toe logic into new file. Breaking out array methods. Cleanup.
More promise cleanup.
Adding win event and changes to complete. Fixing tests.
Fixing tests.