Fix various docs links

Fixing links (#1221) in the docs of time and table (except the rst files as there's a PR in the system for that). Also some PEP8 changes. Also update the recent references in CHANGES.rst following #2098.