Fix bugs. Code refactor. Add game model. Add game controller.

Fix all bugs in user controller according to first according to current
specs.
If an error occur game exception is thrown, it's handled in main.py in
request handler and return json with error code in 'result' field.
Add game model wich contains logic for games.
Add exceptions for all error codes.