Inital commit. This hsould by copy paste from BlogEngine.NET 2.9