signing with purpose via :for option

override == in SignedGlobalID to consider purpose

change serializer to JSON and clear the tests
Merge pull request #20 from tony612/signing-with-purpose

signing with purpose via :for option