Wales fly-half Rhys Priestland has ended speculation about his future by extending his contract with the Scarlets.