Support lazy referencing

this PR would make the snowcrash able to recognize references which has been defined after the location of the usage. closes issue #84.
We do not really need it at the very moment. There might be a use for it in the future but we can consider the resource model to be the default type of reference when that happens.