setup.py: Disable shapely dependency on Python 3.0 and above
test_shape: Skip tests if the shapely import fails

This will skip the shapely-related tests on Python 3