Resolved strict warning and deprecated code
added missing resources for captcha-generation