added encoding declaration to files
changed after_save callback to after_create
Merge branch 'master' into mailer