Allow onBeforeShow and onBeforeHide to stop superfish functionality

This simple modification allows the onBeforeShow and onBeforeHide callbacks to return false, preventing Superfish from showing/hiding the menu.

This was necessary for a responsive feature we are building on top of Superfish.