Added maxChar option

There is now an option available for maxChar. If the user types more
than the maxChar the request will not complete, acting just the same as
if minChar is set. maxChar default value is 150 characters.