Fixed graph load on changing host dropdown.

Error with  html encoding in query string. Proper querystring
formatting done in javascript to fetch graphs.

Fixes: #8855

Signed-off-by: Karnan TC <kchidamb@redhat.com>