Use SLF4J instead of Log4J.

This allows projects that use to pty4j to use any logger supported by
SLF4J.