cleanup changes

- delay cleanup of app directory for 24h on failed tasks
- use singularity API instead of Mesos.