Upgrade locomotive to v0.4.0

This properly implements socket.io that will listen on the same port and
acts properly (as designed) rather than hacky workarounds which didn't
work on Nodejitsu anyways.
Merge remote-tracking branch 'origin/dev'