refactor(te): Remove Class.TEClient.php from core (closes #4607)