Improved memory management

Fixed a few issues with TMDBMovie, TMDBMovieCollection and
TMDBPromisedMovie. There are still issues with TMDBImages.