captchasolver code cleanup; added more doctests;
captchasolver code cleanup; added more doctests;

ferranti/watchdog,ferranti/watchdog,MjAbuz/watchdog,MjAbuz/watchdog,aaronsw/watchdog,MjAbuz/watchdog,aaronsw/watchdog,MjAbuz/watchdog,ferranti/watchdog,ferranti/watchdog,aaronsw/watchdog