Switch Configurations to new Factory style

Dropwizard 0.7 favours merging Configurations with their Factories,
providing a single-point of responsibility for the configuration and
creation of these objects.

This actually simplifies a lot of the API a little.

Note: also included are some minor cleanups (removing unused imports,
more diamond operator etc.)