TRUNK-5303 Use commons-lang3 instead of legacy commons-lang
* replace use of legacy commons-lang methods with commons-lang3
* replace use of Validate.nonNull() with simple java code throwing an
IllegalArgumentException when the object under test is null since the
commons-lang3 switched to throwing a NullPointerException
* add checkstyle rule preventing import from commons-lang which should
be picked up by codacy so we can get rid of commons-lang at some point