Make DW::FormErrors and perldoc play nice.

Fixes 984
Merge pull request #985 from pauamma/perldoc-dw-formerrors

Make DW::FormErrors and perldoc play nice.
[#986] Create an errors component to be used in .tt files

Fixes #986.
Merge pull request #987 from afuna/errors-bug-986

[#986] Create an errors component to be used in .tt files