add deploy:cleanup_lingering_releases task

Adding a new task for cleaning up lingering releases. Detailed comments as to its purpose in the code.
Aesthetically, isn't there a empty? call you could use rather than releases.size?