settings: added boolean box_constraints option

which decides if domains are used as box constraints in fitting methods
 that support it (default: on)
add test for option box_constraints, small changes to test_guess