added failing NaN test for floor
fixed agrad/rev/floor for NaN
Merge pull request #859 from stan-dev/bugfix/issue-857-floor-nan

Fixes #857. Bugfix/issue 857 floor nan