Changed backend email validation to match discussed HTML5 standards. Add...

...ed new tests for email validation feature. close #3546