Clean up groovy stack traces

Groovy stacktraces are basically unreadable, so any that are thrown we
clean up using the groovy-provided StackTraceUtils class.
Merge pull request #758 from tomdcc/clean-stack-traces

Clean up groovy stack traces