adding slf4j to pom + minor tweaks
using parameterized logging in slf4j
replacing Logger.isTraceEnabled() and the like by the parameterized
logging. not touching any cases where isTraceEnabled encloses any method
calls since we don't want any overhead if tracing isn't enabled.