add slot in python package to avoid infinite rebuilds, add python-exec
add useflags for nodes with php fact enabled
fix a bunch of syntax errors