NMAIOS-272

Updates to the Node.js glue app between Jenkins and Github.

This makes the code just a little bit nicer, and adds JIRA integration as well.