Fixed revision fetching.
Renamings.
Refactored deploy strategy to be a Task.

Also: $.var(...) -> $(...), 'rm -r' safety.