Updates jenkins.coffee to respond correctly to latest jenkins update and adds convenience method to build.
Updates jenkins.coffee to respond correctly to latest jenkins update and adds convenience method to build.

Jenkins changed the http status code for their REST API in the last version. These changes handle responses better when requesting a build. It also adds a convenient way to start build, by keeping an internal array of jobs, so that the user can request a build by sending a number instead of a job's name.

wsoula/hubot-scripts,cycomachead/hubot-scripts,MaxMEllon/hubot-scripts,davidsulpy/hubot-scripts,yigitbey/hubot-scripts,jan0sch/hubot-scripts,marksie531/hubot-scripts,dbkaplun/hubot-scripts,jacobtomlinson/hubot-scripts,GrimDerp/hubot-scripts,opentable/hubot-scripts,contolini/hubot-scripts,chauffer/hubot-scripts,Ev1l/hubot-scripts,1000hz/hubot-scripts,ericjsilva/hubot-scripts,modulexcite/hubot-scripts,alexhouse/hubot-scripts,jhubert/hubot-scripts,justinwoo/hubot-scripts,github/hubot-scripts,sklise/hubot-scripts,dhfromkorea/hubot-scripts,ambikads/hubot-scripts,jankowiakmaria/hubot-scripts,arcaartem/hubot-scripts,ryantomlinson/hubot-scripts,azimman/hubot-scripts,n0mer/hubot-scripts,terryjbates/hubot-scripts,zecahnin/hubot-scripts,magicstone1412/hubot-scripts,iilab/hubot-scripts,phillipalexander/hubot-scripts