Fix DB access
Fix encoding everywhere
Fix asset precompilation manifest parsing
Set environment
Fix database permissions and tmp dir
Make sure unicorn uses correct working dir after upgrades
Fix cache expiration
Cargo cult to banish US-ASCII encoding daemon