SPARK-1648 Support closing JIRA's as part of merge script.

Ads an automated hook in the merge script that can close the JIRA, 
set the fix versions, and leave a comment on the JIRA indicating the
PR in which it was resolved. This ensures that (a) we always close JIRA's
when issues are merged and (b) there is a link to the pull request in every JIRA.