[IMPR] Improvements for reflinks.py
[IMPR] Improvements for reflinks.py

- rename RefLink.refname to name
- rename RefLink.linkComment to comment
- use str.format for refTitle, refLink and refDead
- shorten the loop to find the ref.tite in getPDFTitle
- use textwrap to shorten the ref.title
- early return if no changes were done (and suppress this message)

Change-Id: I62f6c39d934f97de5d8e56841dbd2aaca9010c30

wikimedia/pywikibot-core,wikimedia/pywikibot-core