Wi-Fi hotspots at train stations across the UK were hacked to display Islamophoic messages.