Groups including Guardian, Telegraph and Daily Mail agree licensing deals to ensure payment for content