Update types.py

Added greater than and less than comparisons so the BitHandler's value is an int during numeric comparison.  This fixes issue in Django 1.7.1 where the MaxValueValidator and MinValueValidator's try comparing a BitHandler with an int and the MaxValueValidator always reports the value as being greater.