Fixes for runInTransaction

* always pass a value for json in makeReq so that request takes care of sending headers for json and parsing object from response body
* read the correct value for transaction id
* couple of typos and other minor fixes
Made more clear that json should be true and removed wrongly committed line.
Merge pull request #27 from silvolu/master

Fixes for runInTransaction