Store JIRA url sans REST endpoint

Remote links were actually being created with the rest endpoint, `rest/api/2`,
embedded in places it shouldn't be. This commit stores the base url and uses
that when creating issue remotelinks.