Add const directives to Input::Factory methods.

- modification of methods what create objects
- modification of using factory in FieldAlgorithmBase class