Fixed the upper limit of the plots for the "saveHistogramPicture" command. Also tidied up some code.
Added the option of setting environment variables if the server is being started.
Added method to Program to set environment variables for XDAQ in all Contexts
Tidied up the code to use new functionality in XDAQTools.py for setting environment variables