Issue #519: added option maximumInputLength + translation support

Added option to define maximum input length for search input field. It adds input's "maxlength" attribute if defined.

Also added an approach for possible language support (see comment below)