check against integer.max_value when getting input

This isn't to be included with the V2 apk. Just a fix for checking that the dollar amount of an input is less than Integer.MAX_VALUE. Addresses issue #150. Note that this isn't a comprehensive fix in that it doesn't check to see if the sum of Entries in a Budget exceed Integer.MAX_VALUE.