Allow the user to specify random seed as a command line option.

Also changed refereces from bool to G4bool in the optical photons parameter.