Use ServletContextListener for configuration

Now uses web application context parameters to configure location
of log4j.xml and properties.xml. Context parameters can be overriden
in Tomcat context configuration files to provide custom config
file locations.