Implement phar signature verification.
We need the entire phar to compute the signature. Updated the parsePharInfo function to accomodate this need.
Fix the detection of the type of signature. The offsets were off by one.