Made uri format escape special characters before parsing

Ruby's URI.parse does not accept non-latin characters, and will raise an
error on any uri that is not completely in the latin alphabet. This is a
problem for example, in japanese uris. I believe that the correct way to
handle this in ruby is to escape the string before parsing it.
Added ruby 2.0, rubinius and jruby to travis build
Added file encoding to help older versions of ruby read non-latin
characters in the test files
Merge pull request #119 from iainbeeston/patch-1

Added ruby 2.0, rubinius and jruby to travis build
Merge pull request #114 from iainbeeston/nonlatin_uris

Handle non-latin uris
Upgrading to 2.2.5; adding Iain Beeston as a contributor
Stopped draft3 from registering itself as the default validator

Draft4 also registers itself as default, so which one ends up as default
depends on which one gets loaded first!
Merge pull request #121 from iainbeeston/remove_draft3_default

Stopped draft3 from registering itself as the default validator
Run json-schema.org's common test suite
Init/update submodule as required
Switch to inferior indent scheme
Display *why* a common-test-suite test failed

This is good, because it's easier to debug a problem if you know *why*
there's a problem.
Fix bad ref test for proxy support

If you run behind a proxy, you won't get a socket error, you'll get an
OpenURI::HTTPError instead (because the proxy will return a 503).  That's
perfectly acceptable, too.
Another allOf ref test, and rename class
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
Merge pull request #124 from mpalmer/fix-bad-ref-test

Fix bad ref test for proxy support
Merge pull request #126 from mpalmer/all-of-ref-test

Another allOf ref test, and rename class