Added options for defining event names

Added default options to define the names of events that are raised by the validator. This allows consumers to override event names where required.
Removed merged code from dist version
Merge pull request #640 from roryprimrose/patch-1

Add event name options to avoid window.onerror being invoked by jQuery