init: Add support for some cmdline args

This patch adds support for setting keyboard layout/use_strong_rng/
disable_aes_ni/nfsv4_domain in cmdline args:
keyboard=layout(eg:keyboard=us)
use_strong_rng=<bytes>
disable_aes_ni=[y|n]
nfsv4_domain=domain
This informations are used to set keyboard layout/use_strong_rng/
disable_aes_ni/nfsv4_domain during an auto-installation.

Change-Id: I9f0f972c4b2cef433269567f25646869d010d30b
Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=960846
Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=911835
Signed-off-by: hadong <hadong0720@gmail.com>
urwid: Add attr to footer

Previously the footer was sometimes hidden due to missing attributes
(which lead to the text beeing drawn in the same color as the
background).
Now the default text color is used.

Change-Id: I8b6d8c80ac516471b2e71addae15501a279ae7e5
Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=982528
Signed-off-by: Fabian Deutsch <fabiand@fedoraproject.org>
ui: Add security check to ConfirmedEntry

Previously it was cumbersome to get the effects of incorrect/unsave
passwords on the UI straight. By pulling the password check code into
the ConfirmedEntry widget and adding a Notice field, the whole process
is simpliefied from a "user" perspektive (plugin writer).

Change-Id: I302ec06290d6c1dd26c7b4e8b3c13727ec8b1131
Signed-off-by: Fabian Deutsch <fabiand@fedoraproject.org>
Fix sys.stdin.encoding return None issue

when using "check_output" of process.py in bash script,
sys.stdin.encoding return None, not "utf-8", then
it will throw "TypeError: unicode() argument 2 must be string,
not None" error
Now this patch fix it.

Change-Id: Iecb88f68b3abe904e042a843e3e40a8a553adc8d
Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=1005045
Signed-off-by: hadong <hadong0720@gmail.com>
process: Raise an error for a known problem

It is known that combining shell=True with an argumentlist doesn't work.
Thsi check is now added to call subprocess calls.

Change-Id: Ic0208de30aa5b8312384c0736f6f7ad38624ec89
Signed-off-by: Fabian Deutsch <fabiand@fedoraproject.org>