Single patch for gmpy and gmpy2 support.

Changed import logic to use import_module(), added gmpy1 ground type for testing, fixed leaks of mpmath base type into sympy code.