Task creation now happens from `events.js`

Refactored the task creation code to run in the `events.js` file, in the attempt to avoid triggering a security restriction caused by invoking app URL schemes encountered when running JIRA over https.

See issue #4 for more information.

Signed-off-by: John Lianoglou <yanni@Aeolus.local>