Fixed the resource pool report download issue

The session[:view] value needs to be stored in the instance variable -
@view

https://bugzilla.redhat.com/show_bug.cgi?id=1114760
Merge pull request #203 from AparnaKarve/bz1114760_download_resourcepool_report_issue

Fixed the resource pool report download issue