Added primus and dependencies
Added first connect using Primus. Also added config file used by both
server and client.
First data passed between server and client.
Added base game
Added first very naive syncing of data.
Added lag simulation on both client and server side.
Added empty engine module.
Added a more interesting update method
Removed lag simulation as it does not seem to work
Added emitter plugin to Primus and updated code accordingly. Also added
server side latency plugin as it will be used later.
Added gitignore
Moved engine and core to backup folder for later implementation.
Updated game model to encapsulate all state in state variable and all
input in input variable.
Added shared code to shared.js. TODO: Remove and refactor old code to
fit with this. TODO: Do not 'steal' RingBuffer from nodejs module but
actually host the real thing.
Updated RingBuffer to fit our needs
Fixed RingBuffer peek to peekFirst bug
Moved update method to shared code. TODO: Support multiple inputs on
server. TODO: Find way to import libraries neatly
Merge branch 'networking'