PEP8 fixes
Handle API errors with new pybossa-client