Made some global functions local (minor performance increase)
Locally required some globals (minor performance increase)
Added better handling of trying to connect to an unconnected transport end point
Change the localhost IP address from 127.1.1.1 to 127.0.0.1
Fix to rindebug's tablestring function.
If the key to a table is a number, the debug now uses the actual length of the number rather than erroring out trying to do something like #4
Fixed handling of socket callbacks to be tolerant of removed callbacks
Merge branch 'master' of chef.rinstrumau.local:rnd/L001-503
Implement non-block write operations for the lua application framework.

The implementation creates a queue structure for each socket write and drains this queue using the return from the select call.  Once a queue is empty is it erased and that socket is no longer considered writable.

The write timer is gone.
Remove commented out old code.
Completely rework the timer infrastructure.

The users' interface remains unchanged via the addTimer and removeTimer called, however the system interface is different.

The implementation is such that all operations are O(log n) time instead of the existing code's O(n).
Use the callback reference instead of an executable flag to handle removed timers in a more streamlined manner.
A little bit of code cleaning in the push and pop routines to make things slightly clearer.
Some code clean up in the addTimer function.
Removal of unused imports and locals
Fix sendKey function's handling of long presses
Merge branch 'master' of https://github.com/rinstrum/LUA-LIB; branch 'master' of github.com:darrenpearson/LUA-LIB