Add lua bindings for TextureCache::addImageAsync and update the related test cases