Added more tests including network tests

I added more test methods, including testing the face registration and interest methods. I used the gevent library (http://www.gevent.org) to run threads with two faces on localhost.

No, it's not strictly necessary, and it's not used by the Jenkins script anyway, since that runs through py.test.

If it bothers you, I can remove it.