Add example using slf4j and logback.

This is for the java apprentice badge.