MrProper on type_dependencies

Also fix some issues and add tests for these:
* Incorrect for iterate variable handling
* Incorrect if handling
* Incorrect augassign handling
* Raise errors on Incorrect variables
* use os.path.join for system paths
MrProper on reordering