[Rails4] Update email validation to use \A and \z instead of ^ and $.