Update React-tools to support transform as object

This change adds an additional function to the exported object to support getting access to the transformed result as an object rather than just a string result - the separate function designed to maintain backwards compatibility. 

This facilitates tools that want the code separate from the sourcemap or anything else as time goes by.
Ya I wasn't wild about `transformAsObject` as object but since `transform` was taken and we can't really change the existing `transform` to `transformResult` or something similar, that was what I came up with. Happy to change if we can come up with anything better.