Moved common code that converts input to an array to a function. Added a check for fittable models in .
Merge pull request #1336 from nden/fitter-input

code to convert input in fitters moved to a comon function
Escape the text in Table's HTML output.