tests: Try to make shutdowntest a bit more robust
tests: Try to make shutdowntest a bit more robust

This should help it run better on slow test environment like the LXC CI
armhf builder.
 - Wait longer for the container to start
 - Wait longer for the container to shutdown
 - On failure to shutdown, kill the container
 - Always destroy the container if it's around

Signed-off-by: Stéphane Graber <089afc6d81f66f1168a9849e15660feae286e024@ubuntu.com>
Acked-by: Serge E. Hallyn <3df611b026e4639bee8aef7a4beb2e39fcebb313@ubuntu.com>

ecarrara/lxc,terceiro/lxc,armcc/lxc,QingweiPeterLan/cs188-lxc,armcc/lxc,JohnPeacockMessageSystems/lxc,aeris/lxc,virajs/lxc,hkjolhede/lxc,virajs/lxc,aeris/lxc,hallyn/lxc,fwilson42/lxc,ss1h2a3tw/lxc,major/lxc,bmoar/lxc,JohnPeacockMessageSystems/lxc,LynxChaus/lxc,QingweiPeterLan/cs188-lxc,major/lxc,thmo/lxc,codebauss/lxc,hfuCN/lxc,Distrotech/lxc,sapun/lxc,bostjan/lxc,fwilson42/lxc,DarknessBeforeDawn/lxc,raspberrypython/lxc,jirislaby/lxc,tych0/lxc,szaszg/lxc,ksperis/lxc,Ponce/lxc,ss1h2a3tw/lxc,tych0/lxc,hfuCN/lxc,hfuCN/lxc,LynxChaus/lxc,efiop/lxc,rowhit/lxc,ioops/lxc,aeris/lxc,virajs/lxc,rldleblanc/lxc,hkjolhede/lxc,akshaykarle/lxc,cjwatson/lxc,Pelagicore/lxc,rowhit/lxc,hallyn/lxc,terceiro/lxc,caglar10ur/lxc,Ponce/lxc,ecarrara/lxc,DarknessBeforeDawn/lxc,hkjolhede/lxc,GreatFruitOmsk/lxc,major/lxc,bostjan/lxc,regit/lxc,bmoar/lxc,fwilson42/lxc,christiaan/lxc,lisongmin/lxc,efiop/lxc,ioops/lxc,jirislaby/lxc,DarknessBeforeDawn/lxc,cjwatson/lxc,hallyn/lxc,lazy404/lxc,ksperis/lxc,LynxChaus/lxc,lisongmin/lxc,weizhenwei/lxc,tych0/lxc,JohnPeacockMessageSystems/lxc,thmo/lxc,caglar10ur/lxc,regit/lxc,szaszg/lxc,lisongmin/lxc,ysbnim/lxc,christiaan/lxc,rowhit/lxc,codebauss/lxc,akshaykarle/lxc,codebauss/lxc,Ponce/lxc,szaszg/lxc,GreatFruitOmsk/lxc,armcc/lxc,bostjan/lxc,caglar10ur/lxc,federicobriata/lxc,federicobriata/lxc,Distrotech/lxc,yubo/lxc,jirislaby/lxc,akshaykarle/lxc,yubo/lxc,bmoar/lxc,yubo/lxc,weizhenwei/lxc,federicobriata/lxc,regit/lxc,ysbnim/lxc,ysbnim/lxc,thmo/lxc,ecarrara/lxc,christiaan/lxc,raspberrypython/lxc,rldleblanc/lxc,QingweiPeterLan/cs188-lxc,rldleblanc/lxc,lazy404/lxc,GreatFruitOmsk/lxc,sapun/lxc,weizhenwei/lxc,ksperis/lxc,Pelagicore/lxc,ioops/lxc,lazy404/lxc,cjwatson/lxc,raspberrypython/lxc,efiop/lxc,Pelagicore/lxc,ss1h2a3tw/lxc,terceiro/lxc,sapun/lxc,Distrotech/lxc