Jeff Moriarty, vice president of digital products for The Boston Globe and general manager for Boston.com, is leaving next month to take a new job as chief digital and product officer at Johnston Press in the United Kingdom.