Add support for better default constraints, and update all current tests...

... to use the default constraints, also add one test to test setting the constraints instead of taking the default. There were updates to the test used for the setting of the constraints to avoid the need for most jshint exceptions for that test.