Fixes #104: Constraint::check() uses wrong indefinite article in ...
Fixes #104: Constraint::check() uses wrong indefinite article in ...

...error message to express the type constraint

Type::check() used a wrong indefinte article on occasion.

This has been fixed by providing a map of types and their wording so that
the correct indefinite article is used, always.

- https://github.com/justinrainbow/json-schema/pull/104
- https://github.com/composer/composer/issues/1616

robotdance/json-schema,samokspv/json-schema,araines/json-schema,Targoniy/-json-schema-for-trip-api,siad007/json-schema,JoelESvensson/json-schema-hack,erayd/json-schema,ChrisTitos/json-schema,edisonthk/json-schema,jojo1981/json-schema,richgarrod/json-schema,alecsammon/json-schema,justinrainbow/json-schema,JoelESvensson/json-schema-hack,localheinz/json-schema,JustTSK/json-schema,sam002/json-schema,siwinski/json-schema,JoelESvensson/json-schema-hack