Move validation errors into a pkg

This is a precursor to fixing my other PR about error lists - That one is on hold until this or something like it goes in.

This makes ErrorList a public type, but does not implement the error interface on it (because I think we want an empty list to not be an error).  ErrorList.ToError() produces an error or nil if the list is empty.  I put it under api/errors, because that is what it is used for, and the Make* functions are sort of validation-centric.
If the file is likely to get more imports in the future it will turn back into this form, but I have a slight preference for the shorter form when there is only a single import. The way you have it is fine with me if it doesn't bother anyone else.