Added fullErrors option to return error objects

Helps when reporting validation errors to a WUI.  Created tests, and
updated documentation.