Added a before-fetch event

Hey guys,

I added a ```page:before-fetch``` event to intercept the back button for an app I'm working on. I'm brand new to contributing to OS, apologies if I'm not following protocol.