added rewind() method

so you can loop through the attachments once again...
Merge pull request #123 from joostdekeijzer/master

added rewind() method