Google and Viacom settled the $1 billion YouTube lawsuit after seven years of back-and-forth legal battles.