CORE-4163 CORE-4205 Refactored SearchField.

Added size and input field length limit.
Refactored some code in the getParams method into getLoaderConfig and getConfigFilters methods.