Utils and emitter foundation

Added a utils file to facilitate common tasks, such as shuffling arrays.
Added foundation for event emitters so that game's can emit messages and
have the server send content to applicable players.