Fixed issue with NSUUID encoding
Added NSCoding support for most classes