documentation updates for 1.9

a bunch of documentation updates and a set of tests I had lying around in one of my local branches for the 1.9 branch
Maybe "Python documentation conventions" as we modify/extend the C style conventions.