Break up .gitignore and use correct syntax.

Paths relative to the top-level checkout directory should start with a
/; those that don't are matched against every sub-directory, not just
the top level.  Moved the large chunks related to docs and tests to
those directories.  Killed some ancient history along the way.
Merge pull request #1751 from ediosyncratic/gitignore-cleanup

Break up .gitignore and use correct syntax.
Note 3.6 leak fixes in bug section.
Spaces not tabs in 3.6 change list.
Merge pull request #1753 from ediosyncratic/change36-leakfixes-master

Change36 leakfixes master
Sync master ChangeLog up with version in 3.6.x branch.