Merge remote-tracking branch 'andyburke/master' into develop
Slight modifications to the emit method. Mainly style.
Added a test for the new emit method.
Bumped the version to v4.0.5.
Rebuilt the API docs with the emit method.
Bumped the version in the components file.
Minified v4.0.5.
Merge branch 'develop'
Merge remote-tracking branch 'upstream/master'