Use response.text for returning unicode EC2 metadata

When serving meta-data that contains unicode, use the webob Response.text
instead of Response.body.  This also adds a test that triggers the bug in
addition to testing that all meta-data offered by the server can be served.

Closes-bug: #1380792

Change-Id: If2ddaa97bbc89cf574205c0327e3caa02dd503fc
(cherry picked from commit f0f07fdb6702f89f3800a5054e9365c3abc90f7a)
Fix exception handling in _get_host_metrics()

In resource_tracker.py, the exception path of _get_host_metrics()
misspells variable name 'monitor'. When exception occurs, this
misspelling prevents us to log warning message. This code change
corrects the misspelling.

Closes-Bug: 1394052

Conflicts:
        nova/tests/unit/compute/test_resource_tracker.py

Change-Id: I8a99a4ceb53c89038e8b292a15ad9fd20daa4233
(cherry picked from commit e09880dcd0f7ae766cae170c5b30fbabbe85eac3)
Merge "Fix exception handling in _get_host_metrics()" into stable/juno
Merge "Use response.text for returning unicode EC2 metadata" into stable/juno