Create TicTacToe.js

Dojo controller for TicTacToe game.

Handles wiring up events and RESTful calls to server to get the AI's next move.