Bump to 3.1, fix small issue in formatted_digits

In formatted_digits, if digits isn't a string, then split will fail.
Digits is technically a string when it comes from Twilio via the
request params, so let's allow that to be valid.