Fixed writable for LPC1768

Bit 6 (0x40) is true if the peripheral is completely empty.
Bit 5 (0x20) is true if the transmit hold register is empty, which is
sufficient for it to be writable.

The TxIrq uses the same requirement, so now it works together and
BufferedSerial doesn't go haywire on LPC1768
Fixed KL25Z/KL46Z RTC-IN pin function

It used to set it to alternate function 2, which is I2C, and still works
fine in all my tests. Not intended though, and might be giving others
issues. 1 is the RTC_CLKIN
Revert "Fixed writable for LPC1768"

This reverts commit 19ae097c62efb66eeaa7c8ba8778a9b26d092fe3.
Fixed LPC1768 writable

Now if no flow control is used it will check if holding register is
empty, instead of complete UART is empty: The TxIrq uses the same
requirement.
Currently BufferedSerial (and everyone else trying something similar)
goes haywire because it doesn't just check if writable, but also if done
writing.

If flow control is enabled nothing is changed.
at command if: improve warning reporting
link monitor: added api to get local phone number to link monitor
ubx modem: added network indication led
ubx modem: better handle different modems
Merge branch 'master' of https://github.com/mbedmicro/mbed
adding back tx fifo, this also fixes the tx interrupts
Merge pull request #194 from Sissors/master

LPC1768 writeable fix + KL25Z/KL46Z RTC pin function
fix merge conflict
Added function description
Merge branch 'master' of https://github.com/mbedmicro/mbed
Merge branch 'master' of https://github.com/mbedmicro/mbed

Conflicts:
	libraries/mbed/targets/hal/TARGET_NXP/TARGET_LPC176X/serial_api.c
init enum
Added LPC11U35_501 target support

Tested with CQ's LPC11U35/501 target board
Merge pull request #195 from mazgch/master

Update of cellular modem
Merge pull request #196 from toyowata/master

Added LPC11U35_501 target support
[fix] nucleo target - gcc arm removal from targets.py
Merge pull request #199 from 0xc0170/dev_nucleo_gcc_removal

[fix] nucleo targets - gcc arm removal from targets.py
Remove F401RE from IAR exporter.

http://mbed.org/users/mbed_official/code/mbed/issues/12
Update MBED_LIBRARY_VERSION to latest revision