Use the name of the referenced schema when parsing references
Use the name of the referenced schema when parsing references

Previously, the full path was used, i.e. $/Definitions/User
Since root.definitions only stores the name (User), parsing references
would always fail.

tinfoil/swagger-rb