Fixed issue with pow grad function trying to evalutate log at 0. Issue 1780
Added unit test.
Note: issue still occurs in debugmode.
Disabled nan/infinity checks for the Pow*Testor.
Merge pull request #1860 from daemonmaker/issue1780

Issue1780