Fix issue #340: Show error message when server fails to list host partitions

Add error handlers to kimchi.listHostPartitions() to properly display
error message when an error occurs while trying to list host partitions.
Also update .po files as a new message was added.

Signed-off-by: Aline Manera <alinefm@linux.vnet.ibm.com>
bug fix: Properly list host partitions for Ubuntu 14.04 server

While trying to create a logical pool in a Ubuntu 14.04 server I got the
following error:

[08/Aug/2014:15:52:38] HTTP Traceback (most recent call last):
  File "/home/alinefm/kimchi/src/kimchi/control/base.py", line 110, in lookup
    self.info = lookup(*self.model_args)
  File "/home/alinefm/kimchi/src/kimchi/model/host.py", line 274, in lookup
    return disks.get_partition_details(name)
  File "/home/alinefm/kimchi/src/kimchi/disks.py", line 180, in get_partition_details
    dev_path = _get_dev_node_path(majmin)
  File "/home/alinefm/kimchi/src/kimchi/disks.py", line 41, in _get_dev_node_path
    return _get_friendly_dm_path(maj_min)
  File "/home/alinefm/kimchi/src/kimchi/disks.py", line 33, in _get_friendly_dm_path
    with open(dm_name) as dm_f:
IOError: [Errno 2] No such file or directory: '/sys/dev/block/253:5/dm/name'

It is because, even the maj_min starts with '253:', the file does not
exist.
So check this file exists in order to use it, otherwise get the dev path
from uevent file.

Signed-off-by: Aline Manera <alinefm@linux.vnet.ibm.com>
list host user names as less as possible

The backend should fitler the user name who can not login the shell.

Signed-off-by: ShaoHe Feng <shaohef@linux.vnet.ibm.com>
Signed-off-by: Simon Jin <simonjin@linux.vnet.ibm.com>
Change default environment configuration to production mode.

Changed the default environment configuration present in the final files
src/kimchi.conf and src/kimchi.config.py from 'development' to
'production' mode.

This modification will prevent that debugging traces be printed in the
front-end when something goes wrong.

Signed-off-by: Paulo Vital <pvital@linux.vnet.ibm.com>
UI enhancement: Request /config/capabilities as soon as possible

/config/capabilities was requested twice for the templates tab: one
request to identify if qemu has spice support and other one to identify
if the qemu has ISO streaming support.

Those requests were made right before using the information, causing a
delay on UI until get the server response.

For example, for distant servers, while creating a new template the
"Remote ISO" option was disabled at the first time and after some time it was
enabled.
The same behavior was identified while editing a template, as the graphics
options blinked to add the spice on it.

To fix it, request /config/capabilities when loading the templates tab to have
this information prior to edit or create a new template.

Signed-off-by: Aline Manera <alinefm@linux.vnet.ibm.com>
UI: refactor guest edit code.

We don not need a special "save" button for permission form.

All form in guest edit tab can share the same "save" button.

also, we will add a password form, it will also share this button.

Signed-off-by: ShaoHe Feng <shaohef@linux.vnet.ibm.com>
Signed-off-by: Simon Jin <simonjin@linux.vnet.ibm.com>