Shane Long scored in stoppage-time as Republic of Ireland rescued a 1-1 draw with Group D leaders Poland in the European Qualifiers.