Traffic jam-busting technology such as 'smart' junctions will be used to improve travel times in Blackpool town centre thanks to a multi-million pound injection of cash.