Library function returns model_params directly.

permutations_runner.runWithConfig() now returns model_params as well as
writing it to disk.