begin splitting code into library / broker / and test

also start SWIG python wrapping for the tests
Merge branch 'master' of git://github.com/spk121/jozabad