Added direction sent to server.
Merge branch 'master' of github.com:jtsaito/mavis

Conflicts:
	client.js