swirl: add isExecutable method to Swirl
composer: use the new swirl.isExecutable
composer: fix syntax errors
composer: create the sym links if use_mapping and is executable
composer: fix generation of mapping file with only selected files