JSIL support for certificate generation only builds.

This works around a JSIL compiler bug, and adds a web project targeting .NET 4, enabling a certificate generating subset of the library to be compiled for JSIL.