Few fixes for NRF51822 PWM and Serial.

- imlement pwmout_free()
- check UART interrupt type carefully
- implement serial_set_flow_control()
- add serial_clear() stub