Set textarea value when changing content

At http://jsfiddle.net/spicyj/W4QLq/, typing into the textbox would cause clicking the button to do nothing; now it should work.

I copied `CONTENT_TYPES` from ReactNativeComponent.js; let me know if it's better to extract this to a shared file.