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>