Fixes #372

Before attempting to send mail, the hostname is retrieved using
socket.gethostname. If the hostname includes 'microbio.me', then mail is sent.
Otherwise, the user is dumped back to the portal with a message stating that
mail can be sent only from the microbio.me domain.
Merge branch 'master' of https://github.com/qiime/qiime_web_app into i372
Add function can_send_mail

takes no arguments, returns true if 'microbio.me' is in socket.hostname();
returns false otherwise
Adding doc string and streamlined fn
Modify files to use can_send_mail

Files should use can_send_mail from utils.mail instead of explicitly checking
whether or not 'microbio.me' appears in socket.hostname() return value
Merge branch 'master' of https://github.com/qiime/qiime_web_app into i372

Conflicts:
	www/americangut/submit_human_survey.psp
changed smart double quotes to straight ones to avoid misencoding

redefined email types for various situations
email bodies changed
fixed #463

more changes to email settings
changed scan_date
reduced email types to 2 kinds
Add Tito Jankowski's how-to in survey info

Linking to Tito's How-To guide in the survey information that we have in
the step by step guide.
Merge pull request #498 from RNAer/tmp

barcode util changed
updating human AG query
Merge pull request #510 from douginator2000/otu

updating human AG query
Add link to module 1 results
Add PDF of module 1 results
Add link to prelim results on index.psp
Merge pull request #511 from adamrp/mod1_link

Mod1 link
updated next barcode procedure. Already deployed.
Merge pull request #512 from douginator2000/otu

updated next barcode procedure. Already deployed.