Introduces a few changes to the code to generate captchas. Font size
calculations are now done in pixels for consistency, and the width of
the image is estimated from the width of the text being printed. Also
fixes#2965.
Added a delete page with options to delete the local database, as well as the remote files.
Added a captcha to protect against automated attacks that would attempt to delete the remote files.
This fixes#1201