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 and update the recent references in CHANGES.rst following #2098.