Feature/issue 891 check nonnegati nan

#### Summary:
Added NaN test and doc in code for check_nonnegative.

#### Intended Effect:
Added NaN test and doc in code for check_nonnegative.

#### How to Verify:
Run test/unit/math/error_handling/check_nonnegative

#### Side Effects:
None.

#### Documentation:
Added doc in the code.

#### Reviewer Suggestions:
Anyone.