Added onNavigation event in options

Added onNavigation event in options, if set as a function with one argument, it is triggered everytime a step is navigated to. Argument is new step number.

I haven't worked on coffeescript so can't send that patch.