Rename tournaments/middleend.js -> tournaments/index.js
Merge pull request #1095 from kotarou3/tournaments

Rename tournaments/middleend.js -> tournaments/index.js
Add REPL sockets
Disable the REPL sockets on windows