Reviewed by rossco.
Moved the logic for setStringValue to setObjectValue on CPTextField. Now, all setX's call setObject. We store native objects, and cast to the appropriate type in the getter methods.
Reviewed by francisco, ross and tom.