Minor code formatting changes

Add editorconfig file
Fix for signature verification security flaw
Add compatibility lib for hash_equals
Merge pull request #4 from t-richards/signature-verification

Signature verification