test for codename regeneration

The single quotes in the "regenerate-form" form were changed to double quotes
due to a bug in paste. While using single quotes is valid for values of HTML
attributes, paste does not parse them correctly and as such cannot modify
fields or submit the form.
remove javascript

unit test passes, so the "regenerate codeword" functionality is still intact.
Merge branch 'feature-remove-javascript' of https://github.com/garrettr/securedrop
Replace userid with fingerprint in HACKING.md

We remove spaces in the key identifier in crypto.py,
so using the gpg userid as the key identifier instead of
the fingerprint won't work. See
https://github.com/freedomofpress/securedrop/issues/96.