Azobenzene Functionalized “T-Type” Poly(Amide Imide)s vs. Guest-Host Systems—A Comparative Study of Structure-Property Relations