Make that class instantiable in order for each swh django application to
manage its related Web API URLs independently from the swh.web.api django
application.
It also simplifies initialization of applications as their ordering does
not matter anymore but also improves tests related to URLs registration
of an application.
Also add typing to UrlsIndex class.