missing parameter for Apache proxying

To be able to use Apache proxying, one needs to add a ProxyPreserveHost parameter. One also need to adjust the Pootle configuration file.
refresh_stats: Add some additional prints to report progress
refresh_stats: Marginal performance improvement on large projects
Stats: Add fields to cache last created unit and last submission

This will improve performance when retrieving the stats table.
Stats: Update last created unit

Current approach will increase load when adding whole new stores,
translation projects and projects.
Stats: Update last submission
refresh_stats: Update last unit and last submission fields
Stats: Update and retrieve cached unit and submission