Add validation code for integers

previously, all numbers were treated the same. Now, the number validation code
can validate integers differently than decimals (good for the percents on the
dietary questions page and the height/weight on survey1.psp)