Add logic and tests to prevent you from doing bad things to userid or emails
Make jshint happy.
Merge pull request #35 from tidepool-org/kjq/issue14

Protect username/emails