Merge pull request #41 from hssm/num-range-values

Persist ints and force input type to integer in NumberRangePreference.
Implementation of collection preferences.