fix for e-mail validation

email validation accepted strings like "x@yz."

Updated the method with regular expression validation inspired by http://www.raywenderlich.com/30288/nsregularexpression-tutorial-and-cheat-sheet