ActiveModel numericality validator :only_integer should allow integer BigDecimal values

Some ORMs (e.g. Mongoid) can only accept 8-byte Integers, and use BigDecimal type for higher magnitude.

In my case I needed an integer-only field which counts from 0 to 2^64 for a counter-based authorization algorithm.