Container configuration moved to ConfigureApplicationContainer. Resolves #17.

This pull request moves container configuration to ConfigureApplicationContainer to allow correct configuration of externally provided containers. Resolves #17.