Syncing logiclrd/Nancy to NancyFX/Nancy.
(Resolved 3 merge conflicts.)
Added unit testing for changes to JavaScriptSerializer in this branch to the Nancy.Tests project.