A gritty version of one of Batman's most iconic characters redefined the role with profanity and trauma, turning a sidekick into a conflicted lead.