replace validates_as_email with validates_email_format_of

Validates_email_format_of is better maintained, works with recent versions of ruby and rails and understands the new rails valiation syntax.

It also relies on RFC 2822 which obsoleded 822. So seems like a good deal.