doc: add versions to requirements.txt

Plus a couple of other minor cleanups.