Paul Dummett signs long-term contract at Newcastle