Kansas City, Toronto libraries hug it out as Twitter battle ends after Royals win ALCS