Add [NSString isEarlierVersionThan].

This is a simple wrapper around compare with NSNumericSearch.