Catch and log Doctrine parse errors.

More helpful error output closes #33.