Update timers so they take arguments in seconds not milliseconds as per Bug 40: http://big-gay-al.rinstrumau.local/show_bug.cgi?id=40

Remove the event queue from rinSystem and implement this functionality using the timer queue instead.  This guarantees that these events are executed when the system is otherwise idle which will prevent a rather subtle double processing of the file descriptors in the event of a recursive call to rinSystem's processEvents (which happens surprisingly often unfortunately).
Remove no longer used function from rinSystem.

Automatically detect the presence of posix support and if it is present, use the posix clock_gettime call in preference to the socket gettime.

The posix call is guaranteed monotonic regardless of system clock changes and it is usually far finer grained.  The socket call looks suspiciously like the time(2) system call which is coarse and suffers from system time and date changes in nasty ways.
Some syntax cleaning and removal of unnecessary function wrappers in the time get routines.
Minor clean up in the posix get time code path.
Work around bug 39 -- the settings data is getting confused when a non-data message arrives and the return from the tonumber call wasn't be checked which lead to the crash.  http://big-gay-al.rinstrumau.local/show_bug.cgi?id=39

Quite why the settings aren't coming back is another mystery.
Added code to replace the token %LATEST% with the version number in the packaged version of the library.
Changed the examples installer to install everything within the folder recursively and set the permissions
Merge branch 'master' of https://github.com/rinstrum/LUA-LIB

# By Pauli (5) and Merrick (2)
# Via Merrick
* 'master' of https://github.com/rinstrum/LUA-LIB:
  Changed the examples installer to install everything within the folder recursively and set the permissions
  Added code to replace the token %LATEST% with the version number in the packaged version of the library.
  Work around bug 39 -- the settings data is getting confused when a non-data message arrives and the return from the tonumber call wasn't be checked which lead to the crash.  http://big-gay-al.rinstrumau.local/show_bug.cgi?id=39
  Minor clean up in the posix get time code path.
  Some syntax cleaning and removal of unnecessary function wrappers in the time get routines.
  Remove no longer used function from rinSystem.
  Update timers so they take arguments in seconds not milliseconds as per Bug 40: http://big-gay-al.rinstrumau.local/show_bug.cgi?id=40