This converts a PyObject* to a D type. The template argument is the type to
convert to. The function argument is the PyObject* to convert. For instance:
PyObject* i = PyInt_FromLong(20);
int n = d_type!(int)(i);
assert(n == 20);
This throws a DPyConversionException if the PyObject can't be converted to
the given D type.