String method conversion.  Added a trivial main to test it with.
String method conversion.  Added a trivial main to test it with.

sk-/python2.7-type-annotator,sk-/python2.7-type-annotator,sk-/python2.7-type-annotator