Convert run tests to python

Convert the run tests scripts fro shell to python, so it's easier to hack and extend,
Right now, it's meant to do exactly the same as the replaces shell code.
I strongly feel that using subprocess is not necessary since coverage and openerp-server are both python script, it should be possible to call the main function in them from python.