Finished rewrite of LuaScriptProcessor.

Added a few n^2ed searched but not a speed problem currently
Merge pull request #17 from GregoryLand/LuaScriptIsolation

Finished rewrite of LuaScriptProcessor.