Started rewriting for .NET 3.5 support.

Started to rewrite the library for .NET 3.5 client profile support and
thus Mono support and thus Unity support.