integrate signature routine from mixpanel PHP
Merge pull request #1 from tonymet/master

integrate signature routine from mixpanel PHP