Fix HTTP proxy wide settings

+ Set proper file name for HTTP proxy configuration for APT
+ Set HTTP proxy wide settings in /etc/environment
Honor system-wide defined HTTP Proxy in REST client
Merge pull request #721 from Zentyal/ejhernandez/proxy-not-honored

Set system-wide HTTP proxy properly in precise