added NaN test for log2
added NaN test for log2
added doc for log2
Merge branch 'develop' into feature/test-nan-log-2
Merge branch 'develop' into feature/test-nan-log-2
Merge pull request #983 from stan-dev/feature/test-nan-log-2

Feature/test nan log 2