Fix parseReplyData scope
  parseReplyData didn't had access to authenticationType
  The condition for OAuth unauthenticated failure was inversed
Fix getBuildDefinitions
  The scope was not correct and parseReplyData call was failing
Merge pull request #18 from tspascoal/master

Fix parseReplyData scope