Piecewise Polynomial Collocation for a Class of Fractional Integro-Differential Equations