Feature/test nan gamma q

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