Add basic validation partitioning
Add basic validation partitioning

Note that this currently only supports using one partition for each of
training and validation, so does not yet work with leave-one-out.

aschampion/diluvian