Feature/fix release emergencies

The main goal of this PR was to fix the stupid `PAYMENT_RESULT_REFUSED` bug (see https://github.com/oscaro/oshop/issues/970).

I also fixed a few Pylint problems while I was at it.