Refactor getIssueList

Related jaxbot/github-issues.vim#31