allow edit media type to be None
allow edit media type to be None

this fixes a bug which prevents server which don't use the type attribute in all edit-media links from being communicated with

Hwesta/python-client-sword2,Hwesta/python-client-sword2