Fix memory leak with ReferenceCountable objects
Merge pull request #213 from Gambini/lua_memory_leak

Fix memory leak with ReferenceCountable objects