Updated apyc to add list grouping. Added associated tests.
Catches errors when class/definition is within control statement.