Mercurial: Remove instance() clutter

Task-number: QTCREATORBUG-9763

Change-Id: Ifd7251ee018447e7d910768ae4befb19df5d72c2
Reviewed-by: hjk <hjk121@nokiamail.com>