new internal method _set_id() to set global last_id attribute to the highest id found in actual notebook object
added compression of notebook safefile using gzip module; moved encoding & decoding of ntoebook dafefile into seperate internal methods _decode_notefile() & _encode_notefile()