Ribbon Schur Functions And Permutation Patterns