Update validation errors and add EINVALID code to distinguish validity check errors from other unexpected/operational errors.
Use err-code module.
Merge pull request #12 from mapbox/einvalid

Add EINVALID code