Added test of full parsing based on av3-fc

Test at the moment should fail in the expand stage, only a few
of the sources listed in the test main.miml are there.
Fixes to codegen to get test failing in the right spot

The main.miml handlers section name changed, stage error checking
has been moved to the end of a stage instead of the beginning.