Remove autostart commands after they have been executed.
Remove autostart commands after they have been executed.

As there is no need to keep autostart commands in memory, we can safely
remove them as soon as they have been executed. As we previously didn't
clear them at all during config reloads, this also fixes a memory leak.

Note that neither autostarts nor autostarts_always is executed during
config reloads, so removing them from memory is fine as an i3 restart
will cause them to be parsed again.

fixes #2044

acrisci/i3,Airblader/i3,Matmusia/i3,stapelberg/i3,ccryx/i3,i3/i3,i3/i3,shdown/i3,pronobis/i3,Airblader/i3-original,strake/i3,ccryx/i3,cornerman/i3,Chr1stoph/i3,cornerman/i3,MForster/i3,acrisci/i3,shdown/i3,cornerman/i3,pronobis/i3,acrisci/i3,EvilPudding/i3,shdown/i3,Airblader/i3,Airblader/i3-original,Matmusia/i3,strake/i3,cornerman/i3,EvilPudding/i3,avrelaun/i3,EvilPudding/i3,ccryx/i3,Matmusia/i3,Airblader/i3,stapelberg/i3,Airblader/i3-original,acrisci/i3,Airblader/i3,acrisci/i3,stapelberg/i3,MForster/i3,Chr1stoph/i3,MForster/i3,avrelaun/i3,avrelaun/i3,MForster/i3,Airblader/i3-original,i3/i3,shdown/i3,Chr1stoph/i3,stapelberg/i3,i3/i3,EvilPudding/i3,strake/i3,pronobis/i3,Airblader/i3-original,ccryx/i3,Matmusia/i3,Chr1stoph/i3,pronobis/i3,strake/i3,strake/i3,avrelaun/i3