Changed .NET Framework version to 4.0. Removed unused method SubstituteAppSetting(). Updated library version number to 2.4.0. Changed credential configuration names to better conform with established conventions for appSettings (but retained support for the older names for compatibility).  Updated the documentation to reflect these changes. Did a significant clean-up and improvement of the documentation.