Added basics for an upgrade command.
Changes for remote upgrades.
Fixed compilation issues.
More compilation fixes.
Added full set of fields to wspolicyprofile.
Updates to web services objects.
Bug fixes to stream handling and commands.