Using instanceof over is_a for Closure comparison
Improved/Generalized Closure handling

Code is no longer dependent on php version by using
`instanceof` over `is_a`.

Addition of `phptal_unravel_closure` allows for
consolidation of code that needs to do just that.
Its use incidentally solves the problem of
`constant instanceof` being a parse error.