Added cPluginManager:LogStackTrace() to the Lua API.

Fixes #637.