The Press Association is to trial an ‘early warning system’ for breaking news designed to spot trends on Twitter