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.
Merge remote-tracking branch 'upstream/master'
Added unit testing for changes to JavaScriptSerializer in this branch to the Nancy.Tests project.
Removed dependency on System.Drawing

We had a dependency on System.Drawing because we used it in the
FavIconApplicationStartup class to load a favicon to disk and
convert it to a byte array (with the help of an ImageConverter).

This made it impossible to use Nancy with Mono to target Android.
I've replaced the System.Drawing dependency with the use of
File.ReadAllBytes instead.

Hope I didn't break anything ;)
Merge pull request #1310 from logiclrd/master

New type of converter to simplify representing byte[] as base64 strings
Merge pull request #1652 from thecodejunkie/favicon-converting-change

Removed dependency on System.Drawing
Wrap example in code tags
Add xml comment summary to RegisterAll method
Merge pull request #1655 from xt0rted/xml-comments-2

xml comments