The Ribosome Flow Model-Theory and Applications