pom.xml: declare log4j and commons-codec dependencies

Building with `mvn package` ran at the root of the project would not work for me without these additional dependencies being declared in `pom.xml`.