Made contacts extensible, not just NSStrings

The API now uses an interface THContact instead of NSString.