Add new error functions in helper
Changes in chat, game and message helpers
Added "bad since" checking in getMessages
Added "bad sid" checking in createGame and fix sql query.
Added validation rules on games model and errors messages for them.
Changes in application tests
Refactored. Fixed error with 'since messages' test.  Added new tests.
Request helper changes
Functions have been renamed. Added new.