Add Parfor validation in ast.c.
Add function for converting from ast to astroid. Other fixes.