Awood/commonize

Move common code (like the logging servlet filter) into the "common" project.