Python Bindings for miller_rabin (is_prime) now accepts string arguments.

The error checking isn't anything fancy; just checks if it can cast it to
an int without raising an exception.