Implement Unity reset.
Handle -r properly.
implement --reset-unity

Re-used old script, converting it to python3.
Update apport hook