Respect the disabled class on the next and previous buttons

I want to be able to control whether a user is able to use the next and previous buttons based on the state of the buttons.  The easy way to do this is for their button handlers to check for the disabled class and drop out if it's assigned.  This seems like a sensible addition, so I'm submitting it here.  Thanks!