artisan optimize --remove

Extend artisan optimize to be able to delete bootstrap/compiled.php

Comes in handy when used as a pre-update-cmd in composer.json. A "composer update" will then first get rid of the old code in compiled.php so that is not there to mess things up after the update.