ENH: Overhauled the pass manager framework to match vanaheimr.

git-svn-id: http://gpuocelot.googlecode.com/svn/trunk@2237 ec522b64-56cd-11de-8d7d-01d876f1962d