Added rollback plugin.

Also refactored a bit.
Renamed ctx -> $.
Setup task is checking plugin versions.