Added serialization support to Entity interface, Simulation class.

Removed dependency on protobuf-net (constraints were too restrictive for Open-DSF - see Entity.cs).