Case insensitive e-mail validation

Added "i" flag to email validation RegExp so that e-mail address with capital letters will be considered as valid. Lower-case and capital letters should be handled on server side if needed.