[cleanup] Deprecate User.name() method in favour of User.username property
[cleanup] Deprecate User.name() method in favour of User.username property

Show a FutureWarning if deprecated User.name()  is used

Change-Id: I5297d35ded399c2759aa65ae9a272467e08837b2

wikimedia/pywikibot-core,wikimedia/pywikibot-core