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.
@alikh31 @pksunkara this comment really does not help me to understand what the function does...