Implement getPreventDefault in MutableEvent

This fixes an issue in Firefox when used with jQuery (closes #1383)
Adding test coverage