Copied PublishSettings.cs class from Web Deploy framework code to be used temporarily for parsing .publishSettings file until Web Deploy client gets updated.
1.2.2: use more solid .PublishSettings parsing logic