Make pyugrid truly optional

While documented as optional, the tests for pyugrid still run even if not installed. I mostly copied the setup from ESMF to make pyugrid optional as well.
I changed it to match ESMF's statement.