Add iterator support for GenericAffExpr

Really just added 3 lines (and tests), but did a bit of reorganization while I was in there