Fix #964 Documentation of Template::set()

Template documentation referred to Template::set_data() (which doesn't
exist) instead of Template::set(). The first example used neither the
fictional set_data() method nor the set() method.