Eliminated malloc in code.
- Solved RAT build system, which expected the repository to be in SVN to find out the version.
- Eliminated references to other repositories (hg,svn) leaving only git.
- Eliminated RATVERSIONSTR. Only RATVERSION remains, which is a string.
- Replaced the definition of RATVERSION through compiler 'defines' by a on-the-fly construction of an header file, that is used in the code.
Removed instanciation of G4VisManager in rat.cc, as under certain circumstances clashed with the instanciation of G4GLVisManager (duplicated instanciation of G4VisManager).
Merge pull request #1 from nbarros/malloc

Eliminated malloc in code.
Merge pull request #2 from nbarros/corefix

Core fixes
Added gentoo CUDA ebuild installation location
Unneeded header?
-Werror would require changes to CLHEP headers to compile
Case fix
Changed GEANT4 include paths to -isystem and added back -Werror
Merge pull request #3 from BenLand100/compilefixes

A few compiling issues
add r11780 pmt, load surfaces from db, various fixes

* Modify "sphere" geometry to match "challenge" requirements
* Add model for Hamamatsu R11780 HQE PMT
* Load optical surfaces dynamically from DB rather than hard-coding in
  Materials.cc
* Fix a failure to sample the PMT charge and write the front-end time,
  which was an oversight while sanitizing RAT for public use.
update and clean up installation guide
fix implicit double to int cast (caused warnings)
Merge pull request #4 from mastbaum/r11780

add r11780 pmt, load surfaces from db, various fixes
make DS::MCPMT getter naming consistent

* Change from e.g. GetPMT to GetMCPMT. Getter names generally
  use the class name.

* Also fix a bug introduced in ea080d12b28b5f4b8113d7aaf2cb6017134badbd,
  where using `DBL_MAX` instead of a large double caused segfaults.
  The underlying reason for this apparently nonsense result is
  under investigation.