fixed error messages when flickr import fails
if the json returned upon a flickr upload contains an "errors" attribute, call the error callback.
fixed doubly declared variable