REP-946 Upgrade to Log4j 2.x

Almost all of them were the same. The custom AppenderForTesting class was no longer needed as the ListAppender performs almost identical behavior. So I did normalize almost all of them and then made minor tweaks were needed.