More accurate closure lifting

Passes most of the tests now

TBD: xpcall in coroutine.wrap when top-level closure is lifted

Signed-off-by: katlogic <git@git.git>