Merge pull request #1 from retkal/master

- fix some typos and detection of canceled payment
abstract class
fix double processing of completed and canceled events. (for anti double response from payu, events should be processed only when database status is different)