Feature/issue 891 check less nan

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