Implemented diceware password generator
Polyfill Math.log2

Polyfill `Math.log2()` in the diceware constructor.
Update ssid.js

Move diceware password generator code to a separate function so it can be called by jQuery, etc. later.
Merge pull request #195 from sarciszewski/pwgen

Implement Diceware Passphrase Generator