Fixing context path bug in JIRA service hook

There was a bug where urls with non-empty context paths did not work with the JIRA gem.  This PR makes it so that the JIRA gem client is instantiated differently depending on the context path.