Implementation of #10.

Finally got around to getting this to work. When you click on the short
url on the index page, a textarea pops up with the text already
selected and ready to be copied.