jAST updated functions 3

Helping functions: forHead, comprehensions
some more
SOME OF THESE DO NOT HAVE TEST SUPPORT