added NaN test for check_std_vector_index
added doc in code for check_std_vector_index
Merge pull request #926 from stan-dev/feature/issue-891-check-std-vector-index-nan

Feature/issue 891 check std vector index nan