cleanup: no longer hiding copy-button after it has been clicked, removed some unneeded lines of code
replaced <a> for external link by <input> text field; text in the field is automatically selected; added help text; replaced alert message by inline text message.
code cleanup: moved CSS and JS code to respective files; extracted utility functions and moved them to Utils.php; added documentation