Allow more flexibility on architecture specification on installer command line.

i?86 is translated to i386, all arm* point to armhf. Allows a single architecture
specification to work on all releases (useful for tests).

Also, checks for invalid architectures.
test: i386 chroot creation on x86-64 platform.