Add Device.hashable_model_and_version_identifier, deprecate Device.persistent_unique_id (closes gh-327)
mentioned in merge request loopy!372