Added code for multiple locales

The locale setting is renamed to locales and can hold a space delimited
list of locales that are to be enabled on the installed system.
All listed (valid) locales will be generated during installation
Added the system_default_locale setting

If the system_default_locale value is set, the value is passed to
update-locale, which in turn does the system specific setup so the
locale is used as a system default
(writes LANG=<locale> to /etc/default/locale)
Removed -z tests

replaced “! -z” tests with “!=“
Fixed locale enabling code

Forgot the /rootfs part while greping for specific locales… added
Added a space after the locale while uncommenting, so only the
specified locale is enabled (and not nl_NL* when only nl_NL is
specified)
Merge pull request #93 from goranche/multiple-locales

Changed the locale option to locales and added system_default_locale
Changed creation of a temporary file

the code now checks before using a particular command (multiple
commands are supported) and will fall back to creating a simple file in
/tmp
Changed the -t type invocation of mktemp
another change, mktemp is "preferred" now
Small fix to touch_tempfile

it now behaves like the other two commands, echo-ing the created
filename
Small fixes

added some double-quotes, just in case
take only the basename of the script, so no path info is added when
constructing temp filename
Merge branch 'master' into v1.1.x
Merge pull request #100 from goranche/v1.1.x

merged changes from master