Improve pull request search output

* show closed pull requests if none open.
* print pull request titles.

@jacknagel @mistydemeo There's got to be a better way of doing this than repeating the same code more than once. Thoughts?