add callFromAnyThread function; make it used everywhere instead of callFromThread

- this fixes unexpected "9 seconds delay" bug in msrp_send_message.py

darcs-hash:20090311080527-b2873-e7e930cdba7e33f0a64768c1a3cfd1fe3c448632
remove unused imports

darcs-hash:20090311080740-b2873-611187ee546c2dc40615a7c08e50394052a572ac