added NaN test for check_cholesky_factor
added doc in code for check_cholesky_factor
Merge pull request #929 from stan-dev/feature/issue-891-check-cholesky-factor-nan

Feature/issue 891 check cholesky factor nan