Changed upload functions to return the response

Changed upload functions to return the response from imgur.