adds unit tests react-component and react-directive

@davidchang this adds unit tests 
The idea was to that properties which weren't in "PropTypes" could be used. The render function of the react component looks like this:

```javascript
render: function() {
  return React.DOM.div(
    { onClick: this.handleClick },
    'Hello ' + (this.props.fname || '') + ' ' + (this.props.lname || '') + (this.props.undeclared || '')
  );
}
```
so the first space in in `Hello ` the second this the one in between `(this.props.fname || '') + ' ' + (this.props.lname || '')`