added NaN test for check_consistent_sizes
added doc in code for check_consistent_sizes
Merge pull request #911 from stan-dev/feature/issue-891-check-consistent-size-nan

Feature/issue 891 check consistent sizes nan