Version 2 of timer PWM and OC

This is my version 2 (not tested).

I verified it compiles.

It still needs the pin= support added.

It has PWM and OC support (adding IC and Encoder would be striaght forward)