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