get rid of models/captcha.php and replace with base64 captcha function.

addresses #142 by eliminating the need for models/captcha.php