Make the presence of the various display routines depend on the underlying registers actually being defined.  If not, a stub routine that produces an error message is substituted instead.

Also provide local/private versions of many of these routines so that the library doesn't need lots of conditional code everywhere.

At this point, the K422 display seems functional.
Key input isn't.
Unit test the K422 missing display registers.
Remove the register number comment, we don't use numbers anymore :)
More K422 register removal.
Extra sanity checks when adding nil streaming registers.
Better process nil registers.
Hack to get keys working on the 422.  Need to revise streaming to make this nice and good.
Reimplement the streaming code to remove the distinction between user and library streams.  There is now a single pool of streams which anything can use.

Of course, the library installs five streams during initialisation and these will always occupy the five library streaming registers.

For the K422, its streaming registers are automatically set up instead.
Hide another three unavailable registers on the K422.
update ldoc
Merge branch 'master' of chef.rinstrumau.local:rnd/L001-503
Fix the deprecated calls setBitsTopAnnuns and clrBitsTopAnnuns.
Rework the streaming so all streaming registers are available on all platforms that support them.

Fix problems with the 0x0040 series streaming registers which need a code not a register number.
Correct the spelling of annunciator.
Put back register 306 and 307 -- the primary and secondary display modes
Fix typo prevent error level change.
Reindent code.
Fix the automatic level change back to INFO level
fix typo
Wrapper up rinApp.running into two calls: isRunning and finish.  The former tests if we're still running and the last sets the running flag to false.

Update all examples to use this interface.

Include deprecated access to the flag that function properly but produce diagnostic messages.

Change the input processing in rinApp to use a lpeg grammar which will make changes easier in the future.
Fix typo in stream removal code that causes a crash -- shouldn't inpact anyone since streams are rarely, if ever, removed.
Fix unit tests for streaming changes and add new tests for the additional streaming registers.