Comedy stars are heading to Hartlepool in July as part of a three-day festival this summer.