attempt at an auto retry for the last build
moving retry code to a function and build up the if else logic
forgot to pass in the msg object
working prototype of the list builds by status feature.
Merge pull request #5 from Linuturk/listbuildsbystatus

Listbuildsbystatus