Feature/test nan rising factorial

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