Rename `/repositories/import/<path>` route to `/import/<path>`

Problem

In !848 (comment 810310063) we found out that the current import route implementation conflicts with the new get repository details route.

Solution

Refactor the import route so that it sits at /import/<path>.

Edited by João Pereira