defcomponent understands getInitialState and getDefaultProps.
Add get-state helper function (assumes cljs-obj state in "value" key).