Adding LTRIM implemetaion in mock redis.
Convert Python list into Lua list, as Python list is not compatible with Lua functions such as table.getn()