Feature/test nan log10

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