coerce integer-ish things to integers (configurable)

Since yanking this out of a few default encoders, I've felt it here and there. Would be nice to add it back with an option to turn it off.

- [ ] accessors for primaryKey
- [ ] encoders for primaryKey
- [ ] controller params