added XorObject.XorFinish method for custom pre-save code
added duplicate XorClass name exception, added test