Dr.V. vitez Hartl, avstrijski učni minister