Remember header start and end position

Hi Craig,

your library is great and widely used to build application rpms in our company. 
For generating yum metadata in Java we need the header start and end position which is needed for primary.xml.gz. Therefore it would be great to find this code in the next release.

Regards,
Sebastian