Convert control loop tests over to simulated event loop

This makes it so that we properly only use ShmEventLoop for running in
realtime on a robot.  Very nice.

Change-Id: I46b770b336f59e08cfaf28511b3bd5689f72fff1
diff --git a/aos/events/shm-event-loop.cc b/aos/events/shm-event-loop.cc
index eead9f5..e44a54b 100644
--- a/aos/events/shm-event-loop.cc
+++ b/aos/events/shm-event-loop.cc
@@ -408,7 +408,10 @@
 
   ::aos::SetCurrentThreadName(thread_state_.name());
 
-  // Now, all the threads are up.  Go RT.
+  // Now, all the threads are up.  Lock everything into memory and go RT.
+  if (thread_state_.priority_ != -1) {
+    ::aos::InitRT();
+  }
   thread_state_.MaybeSetCurrentThreadRealtimePriority();
   set_is_running(true);