Fixed some markup in docs/ref/templates/api.txt
Fixed #20625 -- Chainable Manager/QuerySet methods.

Thanks akaariai for the initial patch and charettes, mjtamlyn and timgraham
for the reviews.