Added support for the old pwm interface

* except for pwm_enable which is sadly already defined in an lcd module
  and thus renders the old pwm interface unusable.  Still usable as a module
  though.