Move transitive relationship lookup into Movie model.
Remove uneeded import from similar_movies view.
Use shorter variable naming convention in loops.
Abstract Amazon API integration into a module.