Reorganize stdlib docs

Move as many parts as possible from base.rst to a separate doc page.
Each separate file now starts with a *** headline (level 1).