added failing nan tests for check_pos_semidefinite
added nan check to check_pos_semidefinite and added doc in code
fixed check_pos_semidefinite so it works with 1x1 nan matrix
Merge pull request #908 from stan-dev/feature/issue-891-check-pos-semidefinite-nan

Feature/issue 891 check pos semidefinite nan