Added threadwait

When the tinyos app has no more work to do it now calls ThreadWait.wait.
This blocks on a condition variable that is signaled by timer and
cc2520.
Added threadwait to tunP
updating eui for border router