Adding some more agrad rev tests.

[This is originally @jadams41's pull request #191. I brought it into a stan-dev branch and merged develop.]

Added testing in agrad/rev for basic math (trig especially) functions.