Add a function to parse an external definition according to official
specifications in order to extract or compute:
- the relative path where the external should be exported
- the URL of the external
- the optional revision of the external to export
Related to T611
Depends on D6838