Making unit testing easier by moving config/setup into the container

This wasn't working well for unit testing components because the helpers were set on the application and there is no application when an isolated container is created.  This PR moves all of that onto the container and then passes a message from the application to the container to notify it of locale changes.
can this just be resolved?