#JC-1605 Added refresh captcha action to Kaptcha plugin. Added common method for processing requests to plugins.