Murphy

Here are two initial patches to get things going. The first one is the Murphy mainloop adaptation/integration to crosswalk MessageLoop. The second one adds timer-based reconnect support to the resource manager.