James Trafford’s late penalty heroics ensured Burnley’s long-unbeaten run continued following a dramatic promotion showdown with Sunderland.