Merge pull request #12 from bfritz/log4j-optional

make log4j optional so it is not pulled in transitively
move log4j to test scope for both SBT and Maven

The test scope is easier to understand than optional and it
also keeps Log4j classes out of the compile classpath.