Move CloudCafe build to after Otter startup

Since CloudCafe now requires knowing the IP for the Otter container I've
moved it to after the Otter container is up and running
Add DOCKER env to bases

Like the comment says, it's nice to know when you're in a container
Setup OTTER_ENVS for running containers
Add early rewrite_config for id password
Rewrite rewrite_config script

There is some information that we either have to configure at runtime
(the container's IP) or that might vary from environment to environment.
With these changes the rewrite_config script now supports that.