Use asyncore instead of twisted.

Still uses deferreds for now though.
Make stuff integratable with the SublimeText mainloop