Move all leap second code before all DST code for readability (and
chronologically, leap seconds always come first).
Update some comments.