bugfix: we incorrectly returned 500 in our output header filter, body filter, and log-phase handlers upon errors. bugfix: Lua stack overflow might happen when we failed to load Lua code from the code cache.
fixed the test plan in t/033-ctx.t.
one minor coding style fix. thanks Guanlan Dai.