Refactor pr-queue and pr-list-from common code
Refactor pr-queue and pr-list-from common code

xdg/git-hub,ingydotnet/git-hub,dagolden/git-hub,xdg/git-hub,dagolden/git-hub,perlpunk/git-hub,perlpunk/git-hub,xdg/git-hub,dagolden/git-hub,dagolden/git-hub,perlpunk/git-hub,drbean/git-hub,ingydotnet/git-hub,xdg/git-hub,drbean/git-hub,drbean/git-hub,ingydotnet/git-hub