Make header text sizes equal

The list title CSS classes on the pages "Guest" and "Storage" defined
different font sizes for the header texts. Those texts are similar, so they will
look better if they have the same size. This patch applies the CSS class
"list-title" to the text on the page "Storage", so it looks the same as
the text on "Guests", and removes the CSS class "storagelist-title" (and
its subclass) because it did not define anything different than
"list-title".

Fix issue #192 (Header texts have different sizes).

Signed-off-by: Crístian Viana <vianac@linux.vnet.ibm.com>
Encode parameters in URL When calling REST APIs

Using the javascript function encodeURICompoment to encode parameters.

Signed-off-by: Xin Ding <xinding@linux.vnet.ibm.com>
Encode parameters in URL generated by the server

Using urllib2.quote to encode parameters in URL
generated by the server

Signed-off-by: Xin Ding <xinding@linux.vnet.ibm.com>
Bugfix: Issue #182 int object has no attribute isdigit

When making a rest request to update a template with no cpus or memory specified,
the new_ncpus or new_memory is just the original value, an int not a string,
so when we invoke new_ncpus.isdigit() or new_memory.isdigit(),
we will get AttributeError: 'int' object has no attribute 'isdigit'
Issue:https://github.com/kimchi-project/kimchi/issues/182

V4 - V3:
    - Keep the default value for template memory and cpus in osinfo.py back to int
    - Add a function in utils.py to check whether one object is digit
    - For parameters passed in from rest api, check whether memory and cpus is digit
      and let strings be strings, int be int, don't convert anything.
    - For testcase, where an int is passed in, assert it as int;
      where a string is passed in, assert it as string.

V3 - V2:
    - Remove the helper function and just convert all params[key] to string

V2 - V1:
    - Accept strings and int as normal template values
    - Add a helper function to_string in utils.py to check and convert
      int to string
    - Add testcase for int and string value

V1:
    - Limit 'cpus' and 'memory' to be a string.
    - Change the default value for template memory and cpus in osinfo.py to string
    - Add testcase

Signed-off-by: apporc <appleorchard2000@gmail.com>