Enforce xFilesFactor between 0 and 1

It was bugging me that I could set illogical xFilesFactor values.  Now they raise ValueError.
New tests included.
Would it be reasonable to make validateXFilesFactor return xFilesFactor so that the above could be rewritten as xFilesFactor = validateXFilesFactor(float(xFilesFactor))?