Refactored the codebase to match a more community-neutral coding style guideline,
following [this guide](https://github.com/bbatsov/ruby-style-guide).

Changes include:

  * Indentation from 4 to 2 spaces.
  * One line blocks are now in one line with `{ |x| .. }` instead of `do ... end`
  * One line conditional statements
  * Method calling without `()` whenever possible

Fixes #11.
- Removed unused comments
- Refactored websocket (forgot to do it before!).
Changed magic numbers for constants that give them meaning.
Fixed typo
Merge pull request #16 from cotag/refactor-coding-style

Coding style refactor