Moved methods and constants to non-UI location so that can be used from
batch processing tool.
Merge branch 'master' of ssh://dascgitolite@dasc-git.diamond.ac.uk/scisoft/scisoft-core.git
Made Serializable.