Include mass k-factor in tree dump
Configurable mass window for k-factor templates

Allow passing mass window to getSpecBkg4kfactor(..).  If the mass window
is invalid (e.g. -ve or zero masses, or zero width), mass window is not
applied.
Clean up unnecessary background modes for k-factor
Update k-factor script
Update Monte Carlo files for k-factor (DsK & Dsπ)
double <--> float tree branches fix

Also remove unncessary 4-momenta shift code.
Turn off 4-momenta refit
Remove all signs of Gaudi
Fix debug message
Fix bug introduced when turning off refit (37d2ddf)
k-factor bug fix: bachelor hypothesis

bachelor hypothesis for B → DK was wrong
Add weights to k-factor templates
Fix memory leak, tree and tmp file was leaking
Bug fix, double application of PID cuts
Fix B and D mass range
Variable name typo
Comment out unneeded setting for k-factor template

This was causing strange problem, maybe MDFitterSettings interface
changed.
Disable LaTeX doc generation, and inline sources
Remove optimisation flags
Local modifications to the Makefile