made threshold static in auto-maxiter criteria
added user control of MaxIter stopping criteria and of function tolerance for TolHistFun stopping criteria
fixed typo in scaling unit test
Merge branch 'master' into minos