REP-946 Upgrade to Log4j 2.x

The test jar is scoped here (dependency management), so it doesn't have to be scoped anywhere else.