Fixed fragment resolution. Issue #64

Seems to be working here, but maybe not an ideal fix(hack).

Test if fragment is a JSON:Schema instance
Make sure to return JSON::Schema from schema_from_fragment()
Moved test_fragment_resolution.rb to 'test' directory