Updated api module
Updated api module

  Added optional username and password to all methods
  Fixed #203
  Fixed #201

zaro0508/jenkinsapi,imsardine/jenkinsapi,imsardine/jenkinsapi,mistermocha/jenkinsapi,salimfadhley/jenkinsapi,imsardine/jenkinsapi,jduan/jenkinsapi,aerickson/jenkinsapi,salimfadhley/jenkinsapi,mistermocha/jenkinsapi,JohnLZeller/jenkinsapi,jduan/jenkinsapi,JohnLZeller/jenkinsapi,domenkozar/jenkinsapi,zaro0508/jenkinsapi,zaro0508/jenkinsapi,JohnLZeller/jenkinsapi,domenkozar/jenkinsapi,mistermocha/jenkinsapi,aerickson/jenkinsapi