New: Support for GroovyProxy's when serializing non-hibernate mapped domain class instances.

Hi Rob,

I came across a serialization issue when using gson with mongodb mapped instances. As the mongodb plugin uses the GroovyProxyFactory for proxies I added that support and would be happy if you'd like to merge it into upstream.

Cheers,
Patrick.