[refactoring] introduce add_etype_button function to properly create button to add a new entity
also properly use cw_create_url to generate the URL to add the entity
[sources management] properly set __linkto, closes #1922970
when clicking on 'add mapping part' on an external source view, one expect to have source properly selected in form