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.
CookieBasedSessions: Don't parse decrypted bogus data

If the cookie contains data encrypted with a different key, the decrypted
string may still be semicolon-separated without actually containing key-value
pairs. Check that a part is a true key-value pair before trying to use its
value.

Fixes #1083
Turn unit tests back on
fixed nuget package spec for razor
Add failing tests to show lack of enum support
Add enum support
Rename MiddlewareFunc to MidFunc (idiomatic!)
NancyMiddlware is a static factory that creates a MidFunc - the owin standard for middleware delegates.
The engine is initialized once as before, and all options work, as before. Also tweaked
NancyMiddlewareFixture
Change AppBuilderExtensions to use NancyMiddleware MidFunc. (MidFunc is supported by Katana)
Tests covering the IAppBuilder extensions. Uses MS.Owin.Testing (but brings in a bunch of other stuff because of HttpClient depending on the MS.BCL stuff).
Merge pull request #1579 from damianh/midfunc

Describes Nancy Middleware as an OWIN MidFunc
Adding some // Given When Then comments in Nancy.Owin.Tests fixtures. Capitalize Nancy in a test name.
Forgot to save project file. God damnit.
AppBuilderExtensions Tests - Create the request URI explicitly.
(This test passes in R# and NCrunch, but fails on Travis).
Comment out test that just will not pass on Mono.
Added NuGet badge to README.md
Added NuGet download count badge
Merge pull request #1583 from khellang/nuget-badge

Added NuGet badge to README.md
Fixed Asserts.Equal, expected and actual were around the wrong way
Fixed ShouldBeOfClass expect and actual around the wrong way