GUI-964
fixed following cases;
 - image in lc has been deleted
 - lc has no bdm
 - some bdm attributes not defined
GUI-964: Minor tweak to how the image is passed to the JS controller
Merge pull request #712 from eucalyptus/GUI-964

GUI-964