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>
Merge pull request #47 from karnan4ever/fix-graph-issue-8855

Fixed graph load on changing host dropdown.