update to use java 7 and jcl version to be same as slf4j
added sample config for posgresql