Merged with frontend's pull-request

From now on all data are readed from default database.
Probably all use cases of commands register, join/leave game are examined, like register user with existing login, join to not started/ended game, leave game twice etc...
Also new tests are included.