Political leaders in Europe and around the world struggle to find ways to deal with people driven from their homes by conflict, poverty and climate change, and who are hoping for a better life elsewhere.