[Core] Adding a new function HubPullRequestIssue, base and head branch be optionnal (fixes #4).

Adding new function and branch be optionnal.