Fix NameError in example.
Tidy range types docs and add warning about the return type support offered by different versions of different DBAPI libraries.