Pulled nested classes out of json-schema/validator.rb

Error classes, schema:validator and attribute
Removed duplicate code for accessing validators, adding a new
Got rid of version_string_for and metaschema_for, in favour of having
validators nominate their own names and metaschemas
Merge pull request #130 from iainbeeston/refactor_slightly

Refactor classes and validator accessor methods