add preview generator to mailer generator

ref #1183 

added preview generator to mailer, but it need to add `config.action_mailer.preview_path = "#{Rails.root}/spec/mailers/preview"` to development.yml in rails app