Add input filter from elements before the form input filter

Input filters returned by the element getInputSpecification() are added
to the chains before the form input filters returned by
getInputFilterSpecification(). Also, it creates the replace() method in
BaseInputFilter, that allows the filters to be replaced without having
to remove them first. As the filters must be merged,
preferFormInputFilter must be set to false on the forms.
DocBlock update
DocBlock update
Set Form::$preferFormInputFilter to false on Form::setInputFilter() call

Set Form::$preferFormInputFilter to false if user don't explicitly set
its value and call Form::setInputFilter()
Add ReplaceableInputInterface
Merge pull request #5479 from saltoledo/form-input-filter-fix

Add element input filters before form input filters
[#5479] Incorporate feedback

- Incorporates feedback from @Maks3w
Merge branch 'hotfix/5479'

Close #5479