Relative and nested $refs

Allowing relative $ref (there is a need to call docson.doc with a baseUrl)
Allowing inner $ref with a reentrant function (sorry, i'm a newbie on promises stuff)
Trying to deal with the issue https://github.com/lbovet/docson/issues/9