Fix some copy-paste bugs in DiffieHellman
Tidy up and reindentation of dh.js
Implemented DH Parameter generation

This is extremely experimental and I provide no guarantees that anything
it produces as a prime is a safe prime, or even prime! The generator
will be improved over time. For now, it produces usable numbers that
could be primes :P