Added myApp.lua as a template for application development
rinApp upgraded to include a run command and a mainLoop callback
K400 upgraded to support the new stream registers, new IO callbacks, curStatus and curIO status kept
waitStatus and waitIO commands added to K400
rinCon bug fix to deal with ser3B streams without matching end characters