add some quick tests to pwm_pin, copied from Analog pin

We're up for a big refactor here. Looks like 
analog pin, gpio pin and pam pins actually share
a large base. But for now, simply duped the code 
of the analog pin with some minor additions and 
copied over the specs.
removed a crazy file