Set system-wide HTTP proxy properly in precise

Using /etc/environment and fix APT configuration.

Honor this configuration in REST client for Zentyal Remote client making work in servers behind HTTP proxies to access to Internet.