Update Banner image for Kimchi rename

Lise updated the banner image, replacing Burnet with Kimchi.

Signed-off-by: Lise Noble <lwnoble@us.ibm.com>
ui: Disable 'Create' button on create guest without required input

Even if no template selected, the user can try to create a template and
an error message is displayed on the top of the page for some seconds.
Disable the 'Create' button until all required fields be filled and the form
validated

Signed-off-by: Aline Manera <alinefm@br.ibm.com>
Exception: move exceptions from model

Exceptions in model results in circular import which may introduce
errors in the future, put them in a single module.

Signed-off-by: Royce Lv <lvroyce@linux.vnet.ibm.com>
Exception: Customise error page handler

Instead of throw stack to user directly,
customise error page handler and fill it with error reason.

Signed-off-by: Royce Lv <lvroyce@linux.vnet.ibm.com>
Exception: reporting error in controller.py in details

Report error resource name and resource id to give user more information.

Signed-off-by: Royce Lv <lvroyce@linux.vnet.ibm.com>
Exception: Distinguish development mode and production mode in kimchi server

When Kimchi is running under development env, stack will be shown
source will be reload and log screen for server,
While in production mode, stack will be sanitized.

Signed-off-by: Royce Lv <lvroyce@linux.vnet.ibm.com>
Exception: Add testcase to test error reporting

Test stack information only shown in development environment.
Error will be santinized in production environment.

Signed-off-by: Royce Lv <lvroyce@linux.vnet.ibm.com>
Exception: Add UI support

Add kimchi style error page,
display stack only in development environment.
display error code and reason in development and production environment.

Signed-off-by: zhoumeina <zhoumein@linux.vnet.ibm.com>
Signed-off-by: Royce Lv <lvroyce@linux.vnet.ibm.com>
ui: Keep image ratio while displaying VM icon and screenshot image

VM icons and screenshot images were distorted in UI.
Fix image height to 110px and scale it according to its aspect radio.

Signed-off-by: Aline Manera <alinefm@br.ibm.com>
fix bug:35 GUEST 'VNC' do not work which graphic type is 'spice'

v3-v4
use data() rather than attr() to get value
of attributes which start with 'data-'.

v2-v3
1 edit width="250px" to "100%" in button-big css
2 add a new class to vm-action
v1-v2
add code also to fix bug #61
https://github.com/kimchi-project/kimchi/issues/61
1 change a tag to button so it have the attribute "disabled"
2 change tab to 4 space and change line in proper space.

v1
Hide the vnc button if the graphic type is "spice"
https://github.com/kimchi-project/kimchi/issues/35
summary:
1 Get the object:graphics from back end
2 Add a judgment that if the graphics.type equals "vnc",
  then show the VNC button.

Signed-off-by: zhoumeina <zhoumein@linux.vnet.ibm.com>
Issue #72: Make Pages Be Bookmark-able

V2 -> V3:
    Remove changes to i18n-related code.

V1 -> V2:
    Rebase to master branch as B[b]urnet renamed to K[k]imchi.

Pages are supposed bookmark-able and not always take the user to
the main page even if the user want to see template page directly.
Use location.hash to enable the feature, e.g., user can type in
URL http://kimchi.company.com:8000/#template to see template list
directly. Then user can use browser Back/Forward Buttons as well.

    Tested on IE9, IE10, Safari, Firefox 22, Chrome.

Signed-off-by: Hongliang Wang <hlwang@linux.vnet.ibm.com>
Reviewed-by: Meina Zhou <zhoumein@linux.vnet.ibm.com>
Reviewed-by: Aline Manera <alinefm@br.ibm.com>
All templates translate all languages no exceptions for English

This can keep the code at the top of each template file a consistent
boilerplate.

Also update the License declaration in html.tmpls

Signed-off-by: ShaoHe Feng <shaohef@linux.vnet.ibm.com>
UI: update some labels of template edit page

Signed-off-by: ShaoHe Feng <shaohef@linux.vnet.ibm.com>
Signed-off-by: Hongliang Wang <hlwang@linux.vnet.ibm.com>
remove the translation keys in i18n.thml and update the po files

Strings in Cheetah templates should be converted to the English phrase
Use the actual English phrases instead of translation keys in i18n.thml.tmpl

Also update the po files.
Do Chinese translation.

Signed-off-by: Hongliang Wang <hlwang@linux.vnet.ibm.com>
Signed-off-by: ShaoHe Feng <shaohef@linux.vnet.ibm.com>
Signed-off-by: Xin Ding <xinding@linux.vnet.ibm.com>
Signed-off-by: zhoumeina <zhoumein@linux.vnet.ibm.com>
Passing the options from autogen.sh to configure

It is useful to pass an option to autogen.sh, and
then to ./configure
examples, ./autogen.sh --prefix=<dir> and finally
./configure --prefix=<dir>

Signed-off-by: Shu Ming <shuming@linux.vnet.ibm.com>