Feature/test nan fdim

#### Summary:
Added NaN tests for fdim in math/functions, agrad/fwd/functions, and agrad/rev/functions with doc on behavior at NaN.

#### Intended Effect:
Added NaN tests for fdim in agrad/fwd/functions, and agrad/rev/functions with doc on behavior at NaN. 

#### How to Verify:
Run test/unit-agrad-fwd/functions/fdim, test/unit-agrad-rev/functions/fdim

#### Side Effects:
None.

#### Documentation:
Added doc on behavior of fdim at NaN and partial derivatives.

#### Reviewer Suggestions:
Anyone.