Changed optimal integer selection code to test from most to least specific
Changed optimal integer selection code to test from most to least specific

datamapper/dm-core,tpitale/dm-core,ar-dm/ardm-core,engineyard/dm-core,alloy/dm-core,tillsc/dm-core