Merge pull request #78 from webdetails/5.0

Latest Report Viewer Commits from master/5.x
BISERVER-10205 - Avoiding undefined reference when item.id is null
Merge pull request #80 from brosander/SP-664

BISERVER-10205 - Avoiding undefined reference when item.id is null