acceptedCode gets event object and regexp support

The acceptedCode function now receives the full event object so that
it is possible to use the target element inside its logic.
Regular expressions are now supported as words.
Merge branch 'new-features' into develop
Bumped version number to 0.2.0
Merge branch 'release-0.2'