Clean Eclipse files every time.

Buildr tries to be smart about only generating .classpath and .project
when the buildfile changes, but in practice it just causes a lot of
issues.
jenkins.sh bootstraps buildr for jenkins tests.

Assuming rvm is available, create a rvm gemset
and 'bundle install' to get a working buildr
env. Provide a way for jenkins to pass
build variables.
Merge pull request #642 from candlepin/awood/eclipse-fix

Clean Eclipse files every time.
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
Initial hookup of mongodb

- Can inject both the main DB and MongoClient seperately
- Created EventCurator that actions on an 'event' collection.

NOTE: Integration tests will be against a live DB due to the fact
that supporting in-memory test libraries for java mongodb do not
implement all features of the java driver.
Persist events via curator
Fixing style issues
Fix broken Event.getTimestamp()

Candlepin events store dates as long. Do the same for
a GB Event for the time being. Perhaps we can transform
this to an actual date later.
1121674: Persist new entitlements to the database before post-ent

The source entitlement was getting an ID set when it was flushed
at a random point (because it was added to pool and consumer).
This didn't always occur before we needed to read the entitlement
ID in order to create a SourceSubscription entry with ent.id as
subkey
Test config properties used when creating mongo client and DB.
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