Add more utility functions that will be used in EH-related passes. Also
(ExceptionPrepare and CFGStackify). Also change `LoopBottom` function tochange `LoopBottom` function to `getBottom` and uses templates to be
`getBottom` and uses templates to be able to handle other classes as
as well, which will be used in CFGSort later.