Fixed email regexp in Api.js to match the regexp in ApiSpec->verify_argument_of_type_email(), updated QUnit test