Add env var for application domain.
Update sphinx vars. Update Rails to 4.1.2 to fix joiner gem issues with thinking_sphinx.