Adding contact name validation

This resolves #25, fixes #18 by adding a static validation for
contact name filed.