Fixing tp #600 and providing error message back to the user in a json object
Merge pull request #123 from kobotoolbox/tp600

Fixing tp #600 and providing error message back to the user in a json object