Tolkien's spirit meets crude humor and flawed heroes in a sprawling animated saga where companionship and consequence determine the fate of the realm.