LuaStateFactory: fix removeLuaState

Using List.set instead of List.add.

This way, overwrites the state instead of inserting a null state and causing issues with state indices being off by one after calling LuaState.close().
Merge pull request #3 from talklittle/master

LuaStateFactory: fix removeLuaState