added NaN test for check_bounded
added doc in code for check_bounded
Merge pull request #909 from stan-dev/feature/issue-891-check-bounded-nan

Feature/issue 891 check bounded nan