Fixed use of deprecated API in 0desktop
Fixed bug upgrading requirements.json to new format

Error was:

  File "/usr/local/lib/python3.2/dist-packages/zeroinstall/apps.py", line 296, in get_requirements
    assert not values.extra_restrictions
AttributeError: 'dict' object has no attribute 'extra_restrictions'