made ptar search for signature first

Obviosly ptar is good for inline plain text attachments in e-mail. As such it
is more useful when it can detect garbage prepended content (eg. e-mail
message) and simply skip it like patch does.

I also used this opportunity to version ptar format, so that future format
changes could be introduced without significant overhead.