Add JSXTransformer.compile() method to compile strings

I don't really like how I named the method, so if you have any suggestion...