Modified the return value of publish and added a helper as first parameter of subscribe handlers
Merge pull request #1 from louisameline/publish

Modified the return value of publish and added a helper as first parameter