updated docs
refactor some local-izations
use tmr.SYS_TIMER

Available after eLua 0.8. Tip by Albert FERNANDES.