Refreshing an inactive pool causes exception

When an update request to extend a inactive storagepool is
finished sucessfully, an exception will be raised complaining
the pool is inactive. The exception response to the clinet is
quite misleading for a successful request.
issue #312: Check volume group exists while creating a logical pool

When creating a logical storage pool, a volume group is created with the same
name.
And when deleting the storage pool the volume group keeps on the system. Which
is the correct behavior as the storage pool is only a concept and deleting it
should not affect the file system.
To avoid problems while creating a pool with an existent volume group name,
verify if a volume group exists with the given pool name and if so, warn the
user about it.

Also convert an error message parameter to string instead of virStoragePool
instance and update the po files as new messages were added.

Signed-off-by: Aline Manera <alinefm@br.ibm.com>
Signed-off-by: Royce Lv <lvroyce@linux.vnet.ibm.com>
issue #330: Make sure exception argument is a string to convert it to unicode

The unicode() operation is only available for strings.
So make sure the exception argument is a string before converting it to
unicode.

Signed-off-by: Aline Manera <alinefm@br.ibm.com>
Support ppc64 isos in Templates: Add arch and urls to distro jsons

If Kimchi is running in a PPC machine, user can create a template
that uses a remote x86_64 iso.
Adding an os_arch field to the distro so we can filter distros
on systems with other architectures. This prevents a user from
creating unusable templates.
This patch also changes the name field of Fedora distros.

Signed-off-by: Rodrigo Trujillo <rodrigo.trujillo@linux.vnet.ibm.com>
Signed-off-by: Christy Perez <christy@linux.vnet.ibm.com>
Support ppc64 isos in Templates: Filter remote isos and change UI

This patch filters remote isos that should be showed to user by the
system architecture. The UI now shows the architecture of the remote
iso and sort the names of the distros.
If host architecture is not found, all remote ISOs will be showed.

Signed-off-by: Rodrigo Trujillo <rodrigo.trujillo@linux.vnet.ibm.com>
Signed-off-by: Christy Perez <christy@linux.vnet.ibm.com>
Support ppc64 isos in Templates: Fix test cases

This patch includes distro test in PPC environment and fixes problems due
to new Fedora distro names, encoding the name.

Signed-off-by: Rodrigo Trujillo <rodrigo.trujillo@linux.vnet.ibm.com>