Asymptotic Properties of Stochastic Semigroups with Applications to Piecewise Deterministic Markov Processes