A 17th century ring found by a metal detectorist in Hesket has been formally classified as treasure, a coroner has declared.