Allow an env var to specify if supervisor is controlling tomcat service.

Part of upcoming patches for running spec tests in a docker container.
Merge pull request #644 from candlepin/dgoodwin/supervisor-deploy

Allow an env var to specify if supervisor is controlling tomcat service.
Build java Event objects from received ampq messages

Created a EventJsonUtil to build useful java objects from
event json.  This should be helpful for events stored in
mongo as well, if we need to pull them out again.
Merge pull request #647 from candlepin/ckozak/read_events

Build java Event objects from received ampq messages
Move configuration code into common project.
Move logging servlet filter code to common project.
Set RequestScoped to TestScope.EAGER_SINGLETON for tests.
Move LoggingFilter into common project.
Clean up warnings in LoggingFilterTest.
Remove use of StandardCharsets as it is Java 7 and up.
Move copied dynamic filtering code into candlepin-common