Improving Python 3 compat on recaptcha

This is a work in progress. I did not try if it works with pytho2.
I renamed string_type to text_type to match the Flask wording