Fixed bug, where publishsettings file couldn't be parsed on machines configured with a none English culture setting. Added and changed unit test to show both the problem and the fix.