Fixed wrong class.
Updated generate_thumbnail function.
Fixed typo.
Fixed issue with error_messages in PasswordResetForm.
Change definition of constants.
Changed URL path for accounts app.