Closed Ideals In The Stone-Čech Compactification Of A Countable Semigroup And Some Applications To Ergodic Theory And Topological Dynamics