Made NumericProperty work with unicode strings.

Changed string type checks from "type(x) is str" to "isinstance(x, string_types)".
Also had to add str(x) to all parse_str() method calls.