Switch to ubuntu:12.04.
Clean up a few things while we have the chance.
Collapse wget install into rest of packages.
Add --follow-symlinks to sed invocation.
Fix up rerooting and exports so they work together.
Remove unlink flag.
Do file/dir creation as the galaxy user.
Run nginx as www-data:galaxy.
Make rerooting optional.