feature: allow custom result types
adds built-in result types: html, jsx and plain. Default is html.
new example using react.js
Fixes #9
2.9.2