add failing NaN tests for rev/fdim
fixed rev/fdim to return NaN for any NaN inputs
Merge pull request #888 from stan-dev/bugfix/issue-887-fdim-rev-nan

Fixes #887. Bugfix/issue 887 fdim rev nan