changed the way upload_media.json returned errors
Merge pull request #129 from thequbit/master

changed the way upload_media.json returned errors