Search for additional Higgs bosons decaying to tau leptons and measurement of the CP properties of the Higgs Yukawa coupling to top quarks using the CMS detector