Tracing the Evolution of Competence in Haemophilus influenzae