Several fixes for bugs reported on stack overflow

http://stackoverflow.com/questions/19665306/boxboxapijsonoperation-is-encoded-as-x-www-form-urlencoded-not-json

http://stackoverflow.com/questions/19637508/box-api-edit-file