New PWM implementation

The old implementation suffered when SoftDevice was under use. The new
implementation is more robust.
Increase PWM timer precision
Merge branch 'upstream/master'
Merge pull request #356 from tkuyucu/master

[NRF] PWM issue solved when Softdevice is running