Enhance UpdateDocument.bat/sh script to also update LuaScriptAPI.dox.

Not fully tested UpdateDocument.bat on Windows platform yet.