Fixed compile errors. Added initial support for leap seconds.
Need to add the 10 second 'catchup' amount to times >= 1972 to put UTC time back in sync with UT1.