Implements signature validation

Adds the functionality to check the payload signature (X-Hub-Signature)
with the HMAC digest protocol. Also adds a new (but not obligatory)
config option called 'key', which holds the repository secret key.
Merge pull request #6 from magnunleno/master

Implements signature validation