Fixed a bug with ValidationError.

Fixed a bug where creating a ValidationError without a code would crash
virgilio-http.