Extract urlconf patching in a reusable method

Signed-off-by: Antoine Catton <acatton@fusionbox.com>
Add signal when indexing
Catch indexing signal in urlconf_include in order to patch the urlconf