[wmlunits] Fix error logging.

Now that a separate process is doing the WML parsing, need to serialize exceptions in the other process and send them to the main process to access them there.
Merge pull request #15 from elias-pschernig/master

[wmlunits] Fix error logging.