update Copyright, cobvert dos2unix
Added new OS detections
Corrected detection order (first Windows RT and then 8)
Added Windows 8 and RT detection
Cleanup code.
This form allows you to request diffs between any two revisions of this file. For each of the two "sides" of the diff, enter a numeric revision.