Update transactions.js

[FIX] In the event of an edge case (ie. invalid funds etc), Coinbase still returns a 200 response, this fix serves to parse the actual response and make sure it was successful
Merge pull request #4 from cdmcnamara/patch-3

Update transactions.js