fixed issue where multiple $ref to the same resource would not resolve
Merge pull request #11 from wesleyks/master

fixed issue where multiple $ref to the same resource would not resolve