Fix travis test: fix bug in checkrule(), change tesst seed and change
type definition of  MultipleMinimaProblems.OptimizationProblem; delete
validpoint function (only used in 1 place); change px, pg, pval to
 fx, fg, fval to avoid confusion with point p;