add using std::isnan and use this-> when calling Test{For,Back}ward
Merge pull request #310 from jeffdonahue/clang-test-power-layer-fixes

clang fixes for test_power_layer