Add windows userdata

This is a work-in-progress branch.

This branch adds userdata support for windows systems.
yes, that was what I meant :). I can pass OSType directly, which saves us the trouble of getting the os from series.