use JsonType for json messages in conn and hub structs
use array-slice of messages instead of array in conn.notifications

Fix bug with large empty struct in notifications.
fix game instance initialization
refractor hub
refractor conn
send target.ID and attacker.ID instead of objects
refractor engine: delete useless code