#656 - PR cleanup

 * All status codes >= 400 are considered errors in the unit tests
 * Return 419 if T&C hasn't been accepted yet
 * Re-arranged locale checking for T&C
 * clearConfig can clear optional keys
 * ConfigTestUtil.clearConfigAndWait takes array rather than single string
 * Added more test coverage
Fixes for less 1.5.0 upgrade

less 1.5.0 includes the full License header, so the tests now reflect this