optimize get/set sx functions

by sacrificing a small rodent, we found some instructions here and there
Merge pull request #3 from kaffeemonster/sx_opt

optimize get/set sx functions
Fixed pread.py
Added triggering for logic sniffer.
Tried to add tag: worksAsExpected.
step 1, save UENUM in interrupt routines

and yes, move some shared code...