fix bug 142442, uninstall marionette and backup.restore should only call once
fix bug 142442, uninstall marionette and backup.restore should only call once

1. import uninstall function
2. backup.restore and reboot only once
3. move uninstall before reboot

oouyang/fxos-certsuite,cr/fxos-certsuite,cr/fxos-certsuite,Conjuror/fxos-certsuite,ypwalter/fxos-certsuite,ypwalter/fxos-certsuite,oouyang/fxos-certsuite,mozilla-b2g/fxos-certsuite,ypwalter/fxos-certsuite,ShakoHo/fxos-certsuite,Conjuror/fxos-certsuite,cr/fxos-certsuite,cr/fxos-certsuite,mozilla-b2g/fxos-certsuite,askeing/fxos-certsuite,Conjuror/fxos-certsuite,mozilla-b2g/fxos-certsuite,ShakoHo/fxos-certsuite,ypwalter/fxos-certsuite,oouyang/fxos-certsuite,cr/fxos-certsuite,askeing/fxos-certsuite,askeing/fxos-certsuite,ShakoHo/fxos-certsuite,ShakoHo/fxos-certsuite,mozilla-b2g/fxos-certsuite,Conjuror/fxos-certsuite,oouyang/fxos-certsuite,askeing/fxos-certsuite,cr/fxos-certsuite,ypwalter/fxos-certsuite,ShakoHo/fxos-certsuite,oouyang/fxos-certsuite,cr/fxos-certsuite,Conjuror/fxos-certsuite,ypwalter/fxos-certsuite,mozilla-b2g/fxos-certsuite,askeing/fxos-certsuite,oouyang/fxos-certsuite,Conjuror/fxos-certsuite,askeing/fxos-certsuite,ShakoHo/fxos-certsuite,ShakoHo/fxos-certsuite,mozilla-b2g/fxos-certsuite,ypwalter/fxos-certsuite,oouyang/fxos-certsuite,mozilla-b2g/fxos-certsuite,Conjuror/fxos-certsuite,askeing/fxos-certsuite