Map all existing jenkins statuses

Build status are taken from hudson.model.Result plus PENDING which is not a status in Jenkins API but is internally used.

FAILED used to be a status while Jenkins reports FAILURE instead, causing runtime exceptions.
Merge pull request #6 from mathbruyen/patch-1

Map all existing jenkins statuses