Add and fix tests.
Fix test to avoid duplicate creation of records.
Fix routes.
Add battle page.
Remove hard coded string from template.
Merge pull request #20 from tuvistavie/nakamura

Nakamura
Merge branch 'develop' of github.com:tuvistavie/code-battle into feature/vs_battle
Add websocket rails.
Add websocket connection handling.
Add battle_controller initialization.
Fix some errors in CodeBatlle controller.
Update WS JS handling.
Add code update handling.
Add countdown when starting battle.
Move battle persistance to DB.
Fix search bar size. Fix hard coded strings.
Upgrade websocket rails to latest version. Improve reconnection handling.
Add spectator mode to battle.
Split quest page into tabs.
Add join model instead of table for user / battle relation.