Added maxChar option

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