Add timeout for a slave that gets provisioned but then has no work

Resolves effect of #54

Also fix DockerTemplateTest

This was broken before by #46, but also needed to be updated for my changes
Merge pull request #61 from thomassuckow/feature/idleTimeout

Add timeout for a slave that gets provisioned but then has no work