Implement derivatives (#4035)
Add test for DerivativeTwoPhaseMaterial