updated the login / email validity check
fixed login name quoting issue
Merge pull request #271 from paczian/master

registration quoting patch
Merge pull request #272 from MG-RAST/master

Merging changes from master back to develop.