Implemented the ability to detected passes in the attribute grammar parser. Two passes are necessary through the attribute grammar in order to evaluate inherited and synthesized attributes.
Fixed some problems with setting attributes, but there still needs to be resolved the problem of setting inherited vs synthesized attributes. Previous commit did not solve this problem.