int32->int64 & PS version checking - SR

Altered behavior for possible int32 overflows from large doubles, to instead use int64. There should be no known issues or limitations for the forseeable future. Still accepts int32 from perf counters and user input.

Also added version checking so that it cannot be used below version 3.0 of powershell, as it will not function properly.