Bug 880001 - Fix mozdevice sut_push.py test;r=wlach

Always wait for the full, multiple-line push command, since
sometimes it is received in one part and sometimes in two.
Bug 88524 - Added tests for rmtree, tempdir. Moved stubs, extract, rmtree into separate files. PEP8 fixes