Added first support for the new Threshold format
Added tests
Changed the check_user test (it didn't work inside continuous building
systems)
New Thresholds objects