Add support to express 4.x and fix a bug

1. Add support to express 4.x
2. Fix a bug which can cause bitbucket post hook to be triggered multiple times.
Your own project specific stuff, remove it, please