client.py now supports creating security docs.

handling of doc update responses without id and/or rev - this is needed for the correct handling of security docs - othewise a KeyError is thrown, since putting a security document will result in a response without 'id' attribute.

this has been tested with normal as well as security docs.