Fix bug Regex in checking url

v1-v2
1 Make each regex a var to make it more clear
2 check the url by ip type and domain type
There is an issue in the Regex of checkout url
of missing "+/?" in the end of regex.That make some url very long
can not passed by checking. So send a patch to amend this.To make
url just like:http://download.fedoraproject.org/pub/fedora/linux/
releases/19/Live/x86_64/Fedora-Live-Desktop-x86_64-19-1.iso can be
passed in the front end.
Signed-off-by: zhoumeina <zhoumein@linux.vnet.ibm.com>
UI Template Edit: Hide Unsupported Items

Icon editing is not supported currently so we hide it now. Also, we
adjust the template edit window size accordingly.

Signed-off-by: Hongliang Wang <hlwang@linux.vnet.ibm.com>
Issue #174: error page can not be translated, fix it.

we do not list error.html.tmpl in po/POTFILES.in for a known issue.
issue: https://github.com/kimchi-project/kimchi/issues/174

Wsgiserver will encode the error.html to 'ISO-8859-1'.
But the error.html from cheetah template is unicode.
So we should encode unicode to string before the Wsgiserver
handle it.

Signed-off-by: ShaoHe Feng <shaohef@linux.vnet.ibm.com>
change the login window css to make language selector in the head

The language selector in the footer of the login window, it not a
good ui design. It will reload the window after change the language.
This operation will make the username and password already exsit
gone. That doesn't make sense.

This patch change the language selector to the head.
and Change some css styles to make the login window prefessional.
Add logo to the login window.
Signed-off-by: zhoumeina <zhoumein@linux.vnet.ibm.com>
Fix typo on Storage Tab

The column that displays the allocated amount of the storage was named as
"Allocate". Rename it to "Allocated".

Signed-off-by: Aline Manera <alinefm@br.ibm.com>