Added class Json/JavaScriptPrimitiveConverter.cs as an abstract base class along the same lines as JavaScriptSerializer.cs, but where the serialized value is simply an 'object' and not an 'IDictionary<string, object>'.
Updated Json/JsonSettings.cs to store a list of JavaScriptPrimitiveConverter objects in a list exposed by new property PrimitiveConverters.
Added a field _primitiveConverterList to Json/JavaScriptSerializer.cs to store a list of enumerable sequences of primitive converters, along the same lines as _converterList, added accessor method GetPrimitiveConverter following the same pattern as GetConverter, and added RegisterConverters overloads that accept sequences of JavaScriptPrimitiveConverter implementations and registers them.
Updated the JavaScriptSerializer constructor that accepts a parameter "registerConverters" to actually pay attention to it.
Updated the ConvertToType method in Json/JavaScriptSerializer.cs to check for a primitive converter before doing any other analysis
Updated SerializeValueImpl in Json/JsonSerializer.cs to check for a JavaScriptPrimitiveConverter in the owner JavaScriptSerializer object after all other serialization, but before emitting the value. (This places it in the same point in the pipeline as in deserialization.)
Updated Responses/DefaultJsonSerializer.cs and ModelBinding/DefaultBodyDeserializers/JsonBodyDeserializer.cs to register primitive converters in addition to regular converters when initializing the JavaScriptSerializer that will be used to serialize or deserialize request/response data.
Added Serializable to DynamicDictionary
Tested Responses are JSON serialized
Tested ViewBag serialized
Moved serializing tests to Nancy.Tests.Functional
Fixed for TheHumanStyleCop
rebase tweaks
Add defaults parameter to one of the Testing.Browser contructors

the new parameters allows for passing default browser context setting
through all calls on browser instance
move code around a bit in BrowserDefaultsFixture
Add BrowserContext defaults parameter to the other Testing.Browser constructor
add test for passing context both via ctor and call
fix spelling
Use DefaultContext method to initialize defaultContext field
Added new Enum for registration lifetime.

Currently defaulting it to singleton, which would maintain
existing behaviour.
Added some failing tests
Initial refactoring around registrations
Request container base now filters out pre-request registrations from app container
Wired in request registration, tests broken.

Test setup needs work in order to fake the engine actually
creating the request pipelines and creating the request container.
Fixed tests
Updated registrations base class to handle lifetimes