Add options in create_captcha() to specify the randomly generated captcha word length and character pool

Uses the same defaults as were hard coded in (8 chars in length,
0-9a-aA-Z). Small change in this file means less code elsewhere when
generating random character strings for the captcha word.