Major rework of the cmake scripts.

This will provide the ability to export cmake info to other
packages.
Have the Use file bring in VTK and GDCM as dependencies.