Cleaned up and fixed 64 bit atomic handling.

The logic for which 32 bit OS has an atomic operation is somewhat
complex and was breaking on PPC Apples. Hopefully, this fixes it
and cleans the code a bit.

Change-Id: Ie288b732e2bb47c9fc90f3621d852e784ec52ff1
Teach vtkMathConfigure about nvcc support for std::isnan and friends.

The CUDA compiler(nvcc) is a secondary compiler that is used beside your host
compiler. While your host compiler can support std::isnan and other functions,
the CUDA compiler doesn't. Because the CUDA compiler is given both host and
device code to parse it will then fail when it sees std::isnan because it is
in the vtkMath header and not the implementation file. To get around this
issue we check __CUDACC__ which is only set when we are compiling with the
CUDA compiler

Change-Id: Ifadf476937617cce382e52a0546f77e8044b6630
Merge topic 'private-depends' into pv-master

f112ee1 Merge topic 'vtkFiltersStatisticsGnuR-needs-KWSys' into master
6d6bcc3 Merge topic 'cleanup-CMP0022-CMP0023' into master
4551757 Merge topic 'fixed-testxmlfileoutput-test' into master
f32a66f Merge topic 'add_jogl_component' into master
37d8be8 Add key binding to JOGL cone example
9e969ab COMP: Link vtkFiltersStatisticsGnuR module to KWSys
aca2b93 Provide more flexibility in the GLContext creation of GLCanvas
5e61c5d Merge topic 'vtk-web' into master
eb3bdff Allow wamp module to work in both vtk and paraview context
9b0c0e5 Use proper install path and dependency
0ddf449 Fix web python build directory.
80b1d01 Rename vtk.web python modules.
9d9aed0 Place vtk web python modules into "vtk.web" package
07aaa32 Web module.
ed6c07d COMP: Cleanup CMP0022 and CMP0023 warnings
e7a8920 Merge topic 'use-cmake-install-instead-of-setup-py' into master
...
Merge remote-tracking branch 'pvvtk/pv-master' into HEAD

* pvvtk/pv-master:

Change-Id: I23f928e818f4898982deaf8cd40a44eb357ab11e
Merge topic 'vtkMath_support_cuda' into master

4646c7be Teach vtkMathConfigure about nvcc support for std::isnan and friends.
Fix dependency issues with vtklibproj4.

vtklibproj4 was copying the vtk_libproj4_mangle.h file to output on every build.
That lead to cyclic dependencies and the build was always dirty (especially when
using Ninja). This fixes the issue by removing the unnecessary copy and ensuring
that the include dirs are setup correctly to include the vtk_libproj4_mangle.h
header.

Change-Id: I86d7972c118a53265e8240aea779413bf6ce0f64
Merge topic 'atomics-64bit-fix' into master

7a6d18a1 Cleaned up and fixed 64 bit atomic handling.
Merge topic 'fix_build_dependencies' into master

c241bbc1 Fix dependency issues with vtklibproj4.