added NaN test for check_vector
added doc in code for check_vector
Merge pull request #927 from stan-dev/feature/issue-891-check-vector-nan

Feature/issue 891 check vector nan