Remove empty lines from /etc/locale.gen
Simplify locales configuration on Ubuntu

- Generate only en_US.UTF-8 (not en_US) locale, as for Debian
- Use update-locale to configure /etc/default/locale configuration
- Remove localedef, since locale-gen compiles the locales specified
Set default LC_CTYPE and LC_COLLATE environment variables
Export LANG, LANGUAGE and all LC_ environment variables
Always cleanup pid files on exit/abort.
Disable Redis in Hostmaster until we will figure out optimal defaults for the Views based pages/blocks.
Merge pull request #447 from ar-jan/locales

Improve locales consistency
Fix for incorrect hash filtering on systems with OpenSSL built from sources.
Fix for false alarm caused by ghost sites leftovers.
Add cleanup for ghost/broken sites dirs leftovers.
Enforce locale settings by configuring defaults

Settings in /etc/default/locale take precedence over SSH client settings.
- On systems with undefined locales, explicitly define all LC_ settings.
- On systems using UTF-8 locales and no undefined locale problems,
  explicitly define LC_ settings required for consistency.
Add cleanup for ghost/broken sites dirs leftovers (fixed).
Remove all legacy gems and re-install RVM/Ruby for root from scratch.

This step is required to avoid confusion and problems after we have switched to RVM managed in the user space.
Pause hostmaster tasks when RVM install for any user is running.
Pause hostmaster tasks when RVM install for any user is running.
Legacy Ruby patch level update to 2.0.0-p576
Add auto-detection of Legacy Ruby patch level update on old systems.
Add extra check for _DETECTED_RUBY_VP path.
Commerce 1.30
Commerce 2.18