added failing nan test for check_unit_vector
fixed check_unit_vector
added doc in code for check_unit_vector
Merge pull request #899 from stan-dev/bugfix/issue-898-check-unit-vector-nan

Fixes #898. Bugfix/issue 898 check unit vector nan