WICKET-5698 WebApplication#unmount() unmounts the whole compound mapper if some of its inner ones matches

(cherry picked from commit f45ce896d02aeda3c09d56bc4ceac425929973a1)