Loic Remy ended Newcastle United's goal drought with a stoppage-time strike as Aston Villa went down 1-0 at St James' Park.