Germany defuses WWII bomb, residents take shelter at mosque