Handles unlimited range numbers

WTForms uses -1 to denote no min/max value. This makes the range and rangelength
validators incorrect. This patch falls back to min/max and minlength/maxlength
validation when one of the range values is -1.