Fix installing add-apt-repository in Ubuntu 14.04

In between 12.04 and 14.04 Ubuntu releases add-apt-repository script
moved from python-software-properties to software-properties-common package.
Add i386 architecture to dpkg

Looks like in recent Ubuntu Docker images i386 architecture disabled by
default.