Remove log4j dependency in code

This diff tries to remove log4j dependency in code and let the library
only depend on slf4j-api. I also removed a lot of logging statements
in unit test because in my opinion unit tests should only print
when the they fail.

Resolves #6