Reworked logic for determining end dates and embargos in Google Scholar output

Main code rev. 1965