Assorted lot of core fixes and functionality improvements

A few fixes and misc improvements were added:

* Removed the use of ```G4cout``` from Materials.cc replacing its use by the internal logging system.
* Added support for loading GEANT4 internal NIST  database elements and materials, if the element/material was not found in RATDB.
* Replaced hardcoded initialization numbers to the data type limits.