Only apply the reindexOnReorder patch when we are on Plone 3.

Do this by fixing the test that checks if we are on Plone 4.

'from plone.app import upgrade' fails, so we use pkg_resources to check if this package is available.