Added some safety checks around min/max pool sizes.

BoneCP is more strict about legitimate sensible values and so this is
to help enforce those values.