Proposed sample rate implementation.
Merge master
Merge branch 'master' into sample-rate
Merge pull request #6 from AttackPattern/sample-rate

Merge in the Sample Rate branch.
Switch CPU arch call to kernel32.dll for speed
Merge branch 'native-cpu-architecture' into windows-phone-8