Northern Ireland have qualified for the Euro 2016 finals by beating Greece 3-1 on a brilliant night at Windsor Park.