Restore autotest config on SIGINT or SIGTERM
Restore autotest config on SIGINT or SIGTERM

When hitting Ctrl+C to interrupt unit test running, the old
configuration was not restored properly.

This fix traps the signal to properly restore the configuration after an
interruption.

owncloud/core,pollopolea/core,pmattern/server,bluelml/core,whitekiba/server,endsguy/server,pollopolea/core,pollopolea/core,jbicha/server,owncloud/core,jbicha/server,endsguy/server,lrytz/core,whitekiba/server,pollopolea/core,jbicha/server,andreas-p/nextcloud-server,pixelipo/server,pixelipo/server,bluelml/core,Ardinis/server,michaelletzgus/nextcloud-server,nextcloud/server,sharidas/core,lrytz/core,pollopolea/core,cernbox/core,michaelletzgus/nextcloud-server,endsguy/server,Ardinis/server,bluelml/core,owncloud/core,pmattern/server,andreas-p/nextcloud-server,nextcloud/server,xx621998xx/server,bluelml/core,Ardinis/server,pmattern/server,lrytz/core,michaelletzgus/nextcloud-server,sharidas/core,endsguy/server,Ardinis/server,xx621998xx/server,cernbox/core,andreas-p/nextcloud-server,sharidas/core,Ardinis/server,IljaN/core,whitekiba/server,cernbox/core,xx621998xx/server,owncloud/core,sharidas/core,pixelipo/server,nextcloud/server,nextcloud/server,andreas-p/nextcloud-server,owncloud/core,xx621998xx/server,IljaN/core,cernbox/core,IljaN/core,sharidas/core,lrytz/core,bluelml/core,jbicha/server,michaelletzgus/nextcloud-server,lrytz/core,phil-davis/core,jbicha/server,IljaN/core,pmattern/server,whitekiba/server,IljaN/core,whitekiba/server,pixelipo/server,pixelipo/server,endsguy/server,pmattern/server,xx621998xx/server,cernbox/core,andreas-p/nextcloud-server