Socket.io router.js events, load routes from configuration, bug fix: attach events to object instances, not the class, see Light.js