Analysis of Dynamics in a Complex Food Chain with Ratio-Dependent Functional Response