Fix all rebase errors.  All tests are passing.
Remove GPU stubs for all layers with device-unified Forward() and Backward().
include math.h in filler and solver -- seems to be needed for pow and
sqrt in CPU_ONLY build.
Add "#ifndef CPU_ONLY" guards around GPU device code so that CPU_ONLY
compilation works.
Save warnings when building device files.
Fix post-rebase errors.