improve irtest.c

* add motion placeholders
* consolidate debug stream writes
* add tick tracking
* add onboard NXT debugging