Added lpc17 PWM driver for xpcc and some bug fixes