Strip whitespace from the purchase_id in DetailRecords.

Also add an :unchanged argument in case other clients want the
purchase_id verbatim.
Merge pull request #2 from harrystech/strip-purchase-ids

Strip whitespace from the purchase_id in DetailRecords.