Adding new pre-send event to push.js

Useful to take some action before push.js send the XHR. i.e showing
loading bars to users.