cPlugin: Name now defaults to the plugin folder name.
cPlugin_NewLua is now completely rewritten to use templated LuaState calls.