Gracefully handle lua_error() for a suspended coroutine.

Thanks to Sergei Zhirikov.
Merge branch 'master' into agentzh