reverse integrate super-activity-rewriting into fullstack_asterix_stabilization

git-svn-id: https://hyracks.googlecode.com/svn/branches/fullstack_asterix_stabilization@3035 123451ca-8445-de46-9d55-352943316053