Make all the static loop errors parser fails instead of hardfails (as it should have been from the start)
Fix testcase 171: allow class allocation to work when class has been declared in a higher scope.