Add more formats to phone number validation

Before this commit, it would only mark phone numbers from India as 'valid
phone numbers'. This had to be changed after we got some USA phone number
spam. It now tests for three formats: None (for numbers in the E.164
format), US and IN.