Knaresborough Museum plan given go-ahead