Few fixes for NRF51822 PWM and Serial.

- imlement pwmout_free()
- check UART interrupt type carefully
- implement serial_set_flow_control()
- add serial_clear() stub
Please follow the style which is in the file you are editing.