return a promise from listPulls function
Merge pull request #17 from mdurn/fix/listPulls-promise

return a promise from listPulls function