Moved EmitHost to types.ts so that utilities.ts can be edited alone

This was the intent with the recent layering PR.