Re #2389. Added workspace index attribute to TabulatedFunction.

Changed it to be able to load any loadable file. Resolution inherits from TabulatedFunction.
Merge branch 'feature/2389_resolution_sequential_fitting' into develop