Replaced log4j dependency with SLF4J

SLF4J is a better dependency for code used in potentially many 
projects, as it doesn't couple a specific logging dependency to 
the shared code.