Add more windows series

* Add windows 7, 8 and 8.1 to supported series
* get windows product name from registry instead of powershell commandlet
Merge branch 'add-more-windows-series' into testing
dynamically calculate buffer