Minimum input length

This adds the ability to set a minimum input length before search is triggered.