`PyAny::cast_as()` and `Py::cast_as()` are now deprecated in favor of
`PyAny::downcast()` and the new `Py::downcast()`. The `PyAny::downcast()`
lifetime bounds where slightly relaxed.