added a method for serializing int
added new result codes
added a new type and now a message can only be initialized with a type
removed the type field from the auth message class as that is now moved to the parent
added result message class
dbmanager renamed to database; class is no longer a singleton; it now connects on each query/update and after that closes the connection; option for the connection to be kept alive is supported; added method for checking if a user exists in the users table
client connection now has a database object as an ivar; now able to write message back to the client; registration is now being hanled; responses can now be expected from the server
Merge branch 'master' of github.com:tmpit/chesshero