Move django.conf.urls check into compat module

Move the compatibility check when importing
django.conf.urls module into
the guardian.compat module