Add the ability to choose the 'encoding' attribute

This adds a new method on feeds, `->setEncoding`, which allows one to set the value of the `encoding` attribute in the headers of a feed. The default is `utf-8`.