added config files

based on
http://www.javacodegeeks.com/2014/03/springmvc4-spring-data-jpa-springse
curity-configuration-using-javaconfig.html