Additional scripting functionality

New internal plugin structure
Each script now has its own Lua context
Ported the experience table formula and added Lua hooks
Added some more statistic ideas to the UI in a new property tab