added failing test
switched to no namespace version of trunc
added NaN test for trunc in agrad/fwd
Merge pull request #884 from stan-dev/bugfix/issue-882-tru-nan

Fixes #882. Bugfix/issue 882 trunc nan