Replace mapsnd f with map (applysnd f) in analyze.hs
Add applyboth to analyze.hs
Add partitionByIndex to analyze.hs
Add logLikelihood for samples unrelated to training.
Cross-validate against a third of the sample data.
Emit best cross-validated model, not one with an arbitrary number of features.
Compute likelihood of heldback set only once per model.
Update mkdates for new source data up to 2014-06-05.
Merge branch 'fix-update-mkdates'

* fix-update-mkdates:
  Update mkdates for new source data up to 2014-06-05.
In analyze, take training set as argument and write weights on stdout.
Document new test-weights-* files and state of cross-validation.