Move externalizer from traits to AmfObject and make it public.

Also add some tests for externalizable objects.
Simplify ctor.
Add DeserializationContext to VS project.