Added a few basics for embedding Lua, and updated docs accordingly.
Add compile flag if building with ScriptDev2.