use String regexp methods to avoid unnecessary string --> []byte conversions
check emails case-insensitive
* add number of resource which was checked to diagnostic messsage
* fix a break to continue with label in checking for valid schema version
* simplify code for checking for valid resource encoding
check email addresses case insensitive
more test cases
more test cases for required fields