Adds a garbage collection function to the LuaContext class.

Also adds lua.h to LuaCompat.h since it seemed to be missing and was causing compile errors.