DOC: Surround stats class methods in docstrings with backticks.

As proposed in #3915, this PR fixes some warnings by surrounding the class methods in `scipy.stats._distn_infrastructure` with backticks.

This PR also contains a small PEP8/Pyflakes fixup. Let me know if it is too extensive and I'll remove it.