closes certnanny/KeyNanny#22

This implements the CGI script as per the requirements in issue #22