Build configuration cleanup
First pass:
- Stripping unneeded comments and cmake code
- Relocated config script generation to src/config/CMakeLists.txt
Second pass:
- Further stripping of unneeded comments and cmake code in main CMakeLists.txt and subdirectories
- Formatting of cmake code
- Set GenericDetectors package version to NPDet version
- Set default CMAKE_INSTALL_PREFIX and CMAKE_BUILD_TYPE
Edited by David Blyth