Add WorkerException to allow serializing even when the trace contains closures (which are not serializable)

When the workers are producing an exception the stack trace may contain closures and then you would get "serialization of 'closure' is not allowed". To work around the problem i created a simple Exception which handles serialization on its own.