Merge pull request #3 from vigliag/master

moved Room class in a separate file, various server bugs corrected
Need fixes on fen
now working, substituted socket.to(...) with io.to(...), added files for tern and jshint