added failing NaN test for check_pos_definite
fixed check_pos_definite for NaN values
added another test case for check_pos_definite
added doc in code for check_pos_definite
Merge pull request #901 from stan-dev/bugfix/issue-900-check-pos-finite-nan

Fixes #900. Bugfix/issue 900 check pos definite nan