Data type and content fixes for extended platform resources

Calculate geospatial status rollups from the parent device as well as child devices.  Refactor of some attribute-setting code.  Passing smoke tests, except the one that's currently broken on buildbot.