fix deployment extension for UI

not 100% complete -- still need to calculate status of attribute sites and devices,
but want to merge this much now b/c resource.py change made in last few days
changes OMS.get_deployment_extension to raise exception where before it just exited early b/c of a None object.