Add some functions from DH docs
Address review comments, fix signatures that the docs lied about
Fix another function signature
Merge pull request #987 from ashfall/dh-bindings

Add more bindings for DH