Hoist TSRM to inject a vm threaded through all PHP contexts

TSRM_FETCH doesn't currently work, and will be a pain in the ass to
implement without resorting to Goid