Update rubygems source to use https.
Update Gemfile.lock to use new versions of gems.
Use Eventsource callbacks, no need to reconnect.
Clean Gemfile: Thin already depends on EventMachine and Sinatra depends on Rack.
Merge pull request #1 from DamirSvrtan/master

Bring project up-to-date with latest JS & Ruby APIs